Uniform read/write API for byte content keyed by path strings. Concrete implementations: DirStore, DictStore, MmapZipStore.
Arguments
- root
(
DirStore) Filesystem root path; created if missing.- consolidate_cache
(
DirStore/DictStore) Internal environment holding the in-memory consolidated-metadata index, maintained incrementally across writes soset_*need not re-parse the whole store root on every mutation. Created automatically; not intended for direct use.- env
(
DictStore) Internal environment used as the key-value backing store; typically created bynew_dict_store().- path
(
MmapZipStore) Filesystem path to a zip archive.- mode
(
MmapZipStore) One of"r","r+","w+","w"; set bynew_mmap_zip_store().- xptr
(
MmapZipStore) Internal external pointer to the C++ store; set bynew_mmap_zip_store()and not intended for direct use.