MCPcopy
hub / github.com/ipfs/kubo / ResolvePath

Method ResolvePath

core/coreiface/coreapi.go:49–49  ·  view source on GitHub ↗

ResolvePath resolves the path using UnixFS resolver, and returns the resolved immutable path, and the remainder of the path segments that cannot be resolved within UnixFS.

(context.Context, path.Path)

Source from the content-addressed store, hash-verified

47 // immutable path, and the remainder of the path segments that cannot be resolved
48 // within UnixFS.
49 ResolvePath(context.Context, path.Path) (path.ImmutablePath, []string, error)
50
51 // ResolveNode resolves the path (if not resolved already) using Unixfs
52 // resolver, gets and returns the resolved Node

Callers 15

GetMethod · 0.65
FindProvidersMethod · 0.65
ProvideMethod · 0.65
objectsForPathsFunction · 0.65
diag.goFile · 0.65
block.goFile · 0.65
resolve.goFile · 0.65
pinAddManyFunction · 0.65
pin.goFile · 0.65
pinLsKeysFunction · 0.65
remotepin.goFile · 0.65
dagGetFunction · 0.65

Implementers 3

HttpApiclient/rpc/api.go
mockCoreAPIcore/commands/repo_verify_test.go
CoreAPIcore/coreapi/coreapi.go

Calls

no outgoing calls

Tested by

no test coverage detected