Interface

ResolveResult

ResolveResult

ResolveResult represents an IPLD Node that was traversed during path resolving.

View Source core/dagservice.ts, line 199

Members

string

# remainderPath Optional

remainderPath is the part of the path that wasn’t resolved yet.

View Source core/dagservice.ts, line 203

CID | any

# value

value is what the resolved path points to. If further traversing is possible, then `value` is a CID object linking to another IPLD node. If it was possible to fully resolve the path, `value` is the value the path points to. So if you need the CID of the IPLD node you’re currently at, just take the `value` of the previously returned IPLD node.

View Source core/dagservice.ts, line 209