#blob #data-store

fsblobstore

A file-system backed blob storage abstraction

4 releases

0.0.4 Jan 30, 2024
0.0.3 Jan 30, 2024
0.0.2 Jan 28, 2024
0.0.1 Jan 28, 2024

#574 in Filesystem

24 downloads per month

0BSD license

14KB
276 lines

fsblobstore

An abstraction over a file system-backed blob storage.


lib.rs:

A abstraction over a filesystem blob storage where each blob is named/key'd by its own hash.

Features

Feature Function
enumerate Enable method for enumerating all keys in storage.
get-fname Enable method for acquiring the path of a blob.
mkbasedir Auto-create the base directory in factory methods.

The use of the enumerate and get-fname features are discouraged since they may encourage breaking the intended usage pattern for FsBlobStore instances.

Dependencies

~2–10MB
~85K SLoC