Module acid_store::repo::content
source · Available on crate feature
repo-content
only.Expand description
A content-addressable storage.
This module contains the ContentRepo
repository type.
This is a repository which allows for accessing data by its cryptographic hash. See
HashAlgorithm
for a list of supported hash algorithms. The default hash algorithm is BLAKE3,
but this can be changed using ContentRepo::change_algorithm
once the repository is created.
Like other repositories, changes made to the repository are not persisted to the data store
until Commit::commit
is called. For details about deduplication, compression,
encryption, and locking, see the module-level documentation for crate::repo
.
Structs
- A content-addressable storage.
- An iterator over the hashes of objects in a
ContentRepo
.
Enums
- A cryptographic hash algorithm.