Crate fsblobstore

Source
Expand description

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

§Features

FeatureFunction
enumerateEnable method for enumerating all keys in storage.
get-fnameEnable method for acquiring the path of a blob.
mkbasedirAuto-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.

Re-exports§

pub use tmpfile;

Structs§

ContentHash
A hash of a content blob.
FsBlobStore
An abstraction over a blob storage in a file system directory.
TmpFile
File writer used to write to a temporary file that can be persisted.

Enums§

Error