aiidateam / disk-objectstore

An implementation of an efficient "object store" (actually, a key-value store) writing files on disk and not requiring a running server
https://disk-objectstore.readthedocs.io
MIT License
15 stars 8 forks source link

Implement function `delete_objects` for object deletion #87

Closed giovannipizzi closed 4 years ago

giovannipizzi commented 4 years ago

This fixes #5

Moreover, also implemented the cleanup of duplicates if they are existing in the clean_storage folder. This might happen in two cases:

This fixes #72

codecov[bot] commented 4 years ago

Codecov Report

Merging #87 into develop will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##           develop       #87   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            7         7           
  Lines         1117      1167   +50     
=========================================
+ Hits          1117      1167   +50     
Impacted Files Coverage Δ
disk_objectstore/container.py 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 89a6ea1...e6e4ffb. Read the comment docs.