[−][src]Trait ipld_block_builder::store::MultiUserStore
Implemented by ipld storage backends that support multiple users.
Required methods
fn pin(
&'a self,
cid: &'a CidGeneric<Codec, Code>,
path: &'a Path
) -> Pin<Box<dyn Future<Output = Result<(), StoreError>> + 'a + Send>>
&'a self,
cid: &'a CidGeneric<Codec, Code>,
path: &'a Path
) -> Pin<Box<dyn Future<Output = Result<(), StoreError>> + 'a + Send>>
Pin a block.
This creates a symlink chain from root -> path -> block. The block is unpinned by breaking the symlink chain.