Closed doulikecookiedough closed 1 month ago
Greetings @artntek, when you have a moment - can you please help me review this branch?
I am merging this PR into develop
as I have addressed @artntek's review comments. @jeanetteclark who will be testing HashStore in the coming weeks will provide further feedback.
Summary of Changes:
object_metadata
class with new attributepid
to help client streamline the process of passing a pid value.store_metadata
to follow new metadata storage design, where all metadata documents for a given pid live in a directory formed by calculating the hash of thepid
, with the document name being the hash of thepid + format_id
retrieve_metadata
anddelete_metadata
to account for above changes.delete_metadata
will remove all metadata documents for a given pid if noformat_id
is provideddelete_object
Updates:pid
pid
references files by handling exceptions where relevant_delete
to the file name), adding them to a list, and then iterating over that list to delete files.