Module dagpb

Source
Expand description

Support operations for the dag-pb, the outer shell of UnixFS

Structs§

NodeData
The wrapper returned from wrap_node_data, allows accessing dag-pb nodes Data.

Functions§

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