Uploads a local file to B2.
Creates a new UploadAction for the given relative path.
Path relative to the sync root.
Absolute local filesystem path.
File size in bytes.
Callback that performs the actual upload.
Readonly
The kind of action.
Uploads the file (unless dryRun) and returns an 'upload-done' event.
Whether to simulate the action without making changes.
An async generator yielding sync progress events.
Uploads a local file to B2.