DataONEorg / hashstore

HashStore, a hash-based object store for DataONE data packages
Apache License 2.0
1 stars 1 forks source link

When calling tag_object, pid references file is not created if a cid references file already exists #75

Closed doulikecookiedough closed 9 months ago

doulikecookiedough commented 9 months ago

When calling tag_object, ensure that a pid references file is written when an existing cid references file already exists, and write a new pytest to confirm.

Additionally, check that the cid references file does not already contain the pid to write and throw an exception if so.

doulikecookiedough commented 9 months ago

This has been completed via Bug-75: Missing Pid Reference Files