Module rust_unixfs::dagpb

source ·
Expand description

Support operations for the dag-pb, the outer shell of UnixFS dag-pb support operations. Placing this module inside unixfs module is a bit unfortunate but follows from the inseparability of dag-pb and UnixFS.

Structs§

Functions§

  • Extracts the PBNode::Data field from the block as it appears on the block.
  • Creates a wrapper around the given block representation which does not consume the block representation but allows accessing the dag-pb node Data.