Expand description
Implementations of blob stores
Re-exports§
pub use bao_tree;
pub use range_collections;
Modules§
- fs
fs-store
redb backed storage - A full in memory database for iroh-blobs
- A readonly in memory database for iroh-blobs, usable for testing and sharing static data.
Structs§
- Intermediary state returned from
get_to_db_in_steps
for a download request that needs a connection to proceed. - Configuration for the GC mark and sweep.
Enums§
- The size of a bao file
- Progress updates for the validate operation
- The availability status of an entry in a store.
- Database events
- The expected format of a hash being exported.
- The import mode describes how files will be imported.
- Progress events for an export operation
- Output of
get_to_db_in_steps
. - An event related to GC
- An event related to GC
- The import mode describes how files will be imported.
- Progress messages for an import operation
- Level for generic validation messages
- Progress updates for the validate operation
Traits§
- An async batch interface for writing bao content items to a pair of data and outboard.
- A generic map from hashes to bao blobs (blobs with bao outboards).
- An entry for one hash in a bao map
- A partial entry
- A mutable bao map.
- Extension of
Map
to add misc methods used by the rpc calls. - The mutable part of a Bao store.
Functions§
- Get information about a blob in a store.
- Export a hash to the local file system.
- Export a single blob to a file on the local filesystem.
- export_
collection formats-collection
Export all entries of a collection, recursively, to files on the local filesystem. - Get a blob or collection into a store.
- Get a blob or collection into a store, yielding if a connection is needed.
- Given a partial entry, get the valid ranges.
Type Aliases§
- A fallible but owned iterator over the entries in a store.
- Export trogress callback