Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoNamesys = errors.New(
"core/resolve: no Namesys on BtfsNode - can't resolve btns entry")
ErrNoNamesys is an explicit error for when an BTFS node doesn't (yet) have a name system
Functions ¶
func Resolve ¶
func Resolve(ctx context.Context, nsys namesys.NameSystem, r *resolver.Resolver, p path.Path) (format.Node, error)
Resolve resolves the given path by parsing out protocol-specific entries (e.g. /btns/<node-key>) and then going through the /btfs/ entries and returning the final node.
func ResolveIPNS ¶
func ResolveIPNS(ctx context.Context, nsys namesys.NameSystem, p path.Path) (path.Path, error)
ResolveIPNS resolves /btns paths
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.