Expand description
API to interact with a local blob store
This API is for local interactions with the blob store, such as importing and exporting blobs, observing the bitfield of a blob, and deleting blobs.
The main entry point is the Blobs
struct.
Structs§
- Options for adding bytes.
- Options for adding data from a file system path.
- A progress handle for an import operation.
- A batch of operations that modify the blob store.
- A progress handle for a batch scoped add operation.
- The state of a bitfield, or an update to a bitfield
- Blobs API
- A progress handle for a blobs list operation.
- Options for force deletion of blobs.
- Export the given ranges in bao format, with the iroh block size.
- A progress handle for a bao export operation.
- Export a file to a target path.
- A progress handle for an export operation.
- Export the given ranges as chunkks, without validation.
- A progress handle for a bao export operation.
- A handle for an ongoing bao import operation.
- Import bao encoded data for the given hash with the iroh block size.
- Observe the local bitfield of the given hash.
- An observe result. Awaiting this will return the current state.
Enums§
- Progress events for importing from any local source.
- Status information about a blob.
- A content item for the bao streaming protocol.
- The import mode describes how files will be imported.
- Progress events for exporting to a local file.
- The import mode describes how files will be imported.