-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor storage methods and improve error handling
Renamed `getFileStream` to `getUncompressedFileStream` and added decompression for non-binary files using `GZipStream`. Updated `getReadSharedAccessSignature` to return `UriWithSharedAccessSignature` type and added error handling for unsupported storage providers. Modified `getWriteSharedAccessSignature` to return a result type and added error handling. Refactored `SaveFileToObjectStorageWithMetadata` for performance and error handling. Removed `fileExists` method from `Storage.Server`. Updated `GetUploadUriParameters` to handle new result type. Changed `UriWithSharedAccessSignature` type from string to `Uri` in `Types.Shared`. Added error logging to `uploadFilesToObjectStorage` in `Services.CLI`. Improved file upload efficiency in `Storage.SDK`. Made minor documentation and comment updates for clarity.
- Loading branch information
1 parent
04a4140
commit 0272762
Showing
8 changed files
with
189 additions
and
159 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
Oops, something went wrong.