MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / File

Method File

pkg/fetch/fetch.go:80–80  ·  view source on GitHub ↗
(pathElements ...string)

Source from the content-addressed store, hash-verified

78// Interface is an abstraction for file retrieval.
79type Interface interface {
80 File(pathElements ...string) ([]byte, error)
81}
82
83type baseFetcher struct {

Callers 15

ExampleNewMemFetcherFunction · 0.65
TestMemFetcherFunction · 0.65
ExampleFunction · 0.65
TestFilesystemFunction · 0.65
TestBucketFunction · 0.65
TestWithBasePathFunction · 0.65
FileMethod · 0.65
TestHTTPFunction · 0.65
NewUpstreamFunction · 0.65
NewCAStoreFunction · 0.65
fetchSenderClientCAsFunction · 0.65
NewClientFunction · 0.65

Calls

no outgoing calls

Tested by 7

ExampleNewMemFetcherFunction · 0.52
TestMemFetcherFunction · 0.52
ExampleFunction · 0.52
TestFilesystemFunction · 0.52
TestBucketFunction · 0.52
TestWithBasePathFunction · 0.52
TestHTTPFunction · 0.52