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

Method Get

core/coreiface/block.go:26–26  ·  view source on GitHub ↗

Get attempts to resolve the path and return a reader for data in the block

(context.Context, path.Path)

Source from the content-addressed store, hash-verified

24
25 // Get attempts to resolve the path and return a reader for data in the block
26 Get(context.Context, path.Path) (io.Reader, error)
27
28 // Rm removes the block specified by the path from local blockstore.
29 // By default an error will be returned if the block can't be found locally.

Callers 15

RequestMethod · 0.65
ResolveNodeMethod · 0.65
GetMethod · 0.65
ReadMethod · 0.65
SendMethod · 0.65
collectEventsMethod · 0.65
mockServerFunction · 0.65
GetMethod · 0.65
GetMethod · 0.65
walkBlockFunction · 0.65

Implementers 1

mockBlockAPIcore/commands/repo_verify_test.go

Calls

no outgoing calls

Tested by 15

mockServerFunction · 0.52
TestCommandsFunction · 0.52
TestGitHubGetFunction · 0.52
TestMetadataFunction · 0.52
TestSeqnoStoreFunction · 0.52
RunThreeLeggedCatFunction · 0.52
DirectAddCatFunction · 0.52
benchCatFunction · 0.52
TestAddressFileReadyFunction · 0.52
TestRemotePinningFunction · 0.52