Expand description
IPLD path resolution and DAG inspection CLI commands.
Implements three subcommands under ipfrs ipld:
resolve <path>— resolve an/ipld/<cid>/...path and print the valuestat <cid>— print codec, size, and link count for a CIDlinks <cid>— list every CID linked from a given block
The additional dag_cli helpers (dag_stat, dag_export, dag_import)
are exposed from this module for use by the ipfrs dag command group.
Structs§
- Import
Stats - Statistics returned after a DAG import operation.
Functions§
- dag_
export - Export a DAG sub-graph as a CAR v1 stream.
- dag_
import - Import blocks from a CAR file into local block storage.
- dag_
stat - Print DAG node stats: CID, size, links, codec.
- ipld_
links - List all CIDs linked from a given CID.
- ipld_
resolve - Resolve an IPLD path and print the value.
- ipld_
stat - Print metadata about a CID: codec, size, links count.
- parse_
ipld_ path - Parse an
/ipld/<cid-string>[/seg1/seg2/…]path into its components.