[][src]Module ipfs::repo

Storage implementation(s) backing the crate::Ipfs.

Modules

fs

Persistent fs backed repo.

mem

Volatile memory backed repo

Structs

Repo
RepoCid

A wrapper for Cid that has a Multihash-based equality check

RepoOptions

Enums

BlockPut

Describes the outcome of BlockStore::put_block

BlockRm
BlockRmError
Column
PinKind

PinKind is more specific pin description for writing purposes. Implements PartialEq<&PinMode>. Generic over Borrow<Cid> to allow storing both reference and owned value of Cid.

PinMode

PinMode is the description of pin type for quering purposes.

RepoEvent

Events used to communicate to the swarm on repo changes.

Traits

BlockStore

This API is being discussed and evolved, which will likely lead to breakage.

DataStore
PinStore
RepoTypes

Functions

create_repo