-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add mechanism to cancel the operation of uploading directory (#75)
* Add ability to cancel upload directory operation * Add unit test to verify cancellation of a single upload * Add integ tests to verify cancellation of multiple uploads * Run `cargo fmt` to fix formatting * Make integration test behavior more deterministic * Store `Receiver` in the state instead of passing it around This commit addresses #75 (comment) * Add integration test to verify dropping `UploadObjectsHandle` This commit addresses #75 (comment) * Remove unnecessary doc sentence from `OperationCancelled` This commit addresses #75 (comment) * Add comment on why we check if cancel receiver has been updated This commit responds to #75 (comment) * Create cancellation channel internlly in `UploadObjectsContext` This commit addresses #75 (comment) * Make one of uploading multiple objects integ tests more reliable
- Loading branch information
1 parent
ee9f51b
commit c427a5e
Showing
7 changed files
with
502 additions
and
111 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.