Pathipld.Path// Path is how we reached the current point in the traversal.
Pathipld.Path// Path is how we reached the current point in the traversal.
LastBlockstruct{// LastBlock stores the Path and CID of the last block edge we had to load. (It will always be zero in traversals with no linkloader.)
LastBlockstruct{// LastBlock stores the Path and Link of the last block edge we had to load. (It will always be zero in traversals with no linkloader.)
ipld.Path
ipld.Path
cid.Cid
ipld.Link
}
}
}
}
typeTraversalConfigstruct{
typeTraversalConfigstruct{
Ctxcontext.Context// Context carried through a traversal. Optional; use it if you need cancellation.
Ctxcontext.Context// Context carried through a traversal. Optional; use it if you need cancellation.
LinkLoaderLinkLoader
LinkLoaderipld.Loader// Loader used for automatic link traversal.