Store.delete
has inconsistent implementations
#2451
Labels
bug
Potential issues with the zarr-python library
Store.delete
has inconsistent implementations
#2451
LocalStore.delete
removes entire directory trees, i.e. many objects:zarr-python/src/zarr/storage/local.py
Lines 206 to 213 in 4c3081c
MemoryStore.delete
removes single keys, i.e. just one object:zarr-python/src/zarr/storage/memory.py
Lines 134 to 140 in 4c3081c
We should pick one of the two options. The fact that we got this far with such skew also means that our store tests should be made more extensive.
The text was updated successfully, but these errors were encountered: