Versions in this module Expand all Collapse all v1 v1.0.0 Sep 27, 2019 Changes in this version + var ErrNoComponents = errors.New("path must contain at least one component") + func ResolveSingle(ctx context.Context, ds ipld.NodeGetter, nd ipld.Node, names []string) (*ipld.Link, []string, error) + type ErrNoLink struct + Name string + Node cid.Cid + func (e ErrNoLink) Error() string + type ResolveOnce func(ctx context.Context, ds ipld.NodeGetter, nd ipld.Node, names []string) (*ipld.Link, []string, error) + type Resolver struct + DAG ipld.NodeGetter + ResolveOnce ResolveOnce + func NewBasicResolver(ds ipld.DAGService) *Resolver + func (r *Resolver) ResolveLinks(ctx context.Context, ndd ipld.Node, names []string) ([]ipld.Node, error) + func (r *Resolver) ResolvePath(ctx context.Context, fpath path.Path) (ipld.Node, error) + func (r *Resolver) ResolvePathComponents(ctx context.Context, fpath path.Path) ([]ipld.Node, error) + func (r *Resolver) ResolveToLastNode(ctx context.Context, fpath path.Path) (cid.Cid, []string, error)