Skip to main content

Module transfers_cmd

Module transfers_cmd 

Source
Expand description

Tauri commands for transfer operations.

§Commands

§OCP contract

Upload/download are independent command paths. transfer_list and transfer_cancel compose over TransferQueueHandle without touching either. Adding a new transfer kind (Move, Copy) = new TransferSpec variant + one new command here.

Structs§

TransferDownloadSpec
Input for a single download spec (used by transfer_download_many).
TransferUploadSpec
Input for a single upload spec (used by transfer_upload_many).

Functions§

enqueue_download 🔒
Register and spawn a download task. Returns the new request_id.
enqueue_upload 🔒
Register and spawn an upload task. Returns the new request_id.
multipart_abort
Abort a single in-progress multipart upload.
multipart_scan
List all in-progress multipart uploads for bucket, classifying each as Brows3r (in our multipart_active table) or Unknown (foreign).
now_ms 🔒
resolve_client 🔒
Resolve the S3 client for a profile, enforcing the validation gate.
transfer_cancel
Cancel the in-flight transfer with request_id.
transfer_download
Initiate a streaming download of key from bucket to dest_path.
transfer_download_many
Bulk-enqueue multiple downloads.
transfer_list
List transfers, optionally filtered by state.
transfer_retry
Re-enqueue a failed or canceled transfer from the beginning.
transfer_upload
Initiate an upload of source_path to bucket/key.
transfer_upload_many
Bulk-enqueue multiple uploads.