-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add put method for Collections (#219)
* Add put method for Collections Change defaults for checksum-related API method keywords to False in order to make behaviour and responsibility for the decision clearer. API callers are now responsible for setting these flags to True where they are needed. Separate checksum retrieval, updates and verification more clearly. Add a checkum keyword to DataObject::list. Add checksum size/consistency check for zero-length data objects. * Add local_checksum parameter to Collection::put Adding this parameter allows a callable to be supplied which can obtain per-file checksums during a recursive put operation. e.g. by reading from an accompanying .md5 file or by deciding, based on file size, whether to calculate checksums or to insist that an earlier process supply one pre-calculated. Improve test coverage of checksum operations. * Add an existence check for iRODS groups when setting up tests This check make re-running tests more reliable in cases where the test teardown has failed to remove test groups from iRODS.
- Loading branch information
Showing
10 changed files
with
563 additions
and
41 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.