wtsi-npg / baton

iRODS client programs and API
http://wtsi-npg.github.io/baton
GNU General Public License v2.0
19 stars 19 forks source link

Add verify on put support #237

Closed kjsanger closed 3 years ago

kjsanger commented 3 years ago

Add a --verify flag to baton-put and "verify" to baton-do "put" operations. This validates the uploaded file against a checksum provided by the client. The client should provide a default checksum algorithm, otherwise it will fall back to iRODS' default. The checksum and verify options are mutually exclusive.

No longer force checksum re-caculation in baton_json_checksum_op.

Change signature of put_data_obj to add iRODS default resource.

Change option_flags enum order.

Change return type of checksum_data_obj.

Update documentation.