async fn run_create_file(
client: &PasswordManagerClient,
request: SendAddRequest,
path: &str,
) -> Result<SendView>Expand description
Full file-send create pipeline:
- Read the plaintext file bytes.
create_file_sendencrypts them under the send key it derives, sends the ciphertext length asfile_length, registers the send, and returns the encrypted bytes plus upload metadata (URL + backend).- The ciphertext is uploaded via
upload_send_file, which dispatches to the Direct or Azure backend based on thefile_upload_typefrom step 2.