[][src]Trait libipld::store::MultiUserStore

pub trait MultiUserStore: Store {
    fn pin<'a>(&'a self, cid: &'a Cid, path: &'a Path) -> StoreResult<'a, ()>;
}

Implemented by ipld storage backends that support multiple users.

Required methods

fn pin<'a>(&'a self, cid: &'a Cid, path: &'a Path) -> StoreResult<'a, ()>

Pin a block.

This creates a symlink chain from root -> path -> block. The block is unpinned by breaking the symlink chain.

Loading content...

Implementors

Loading content...