MCPcopy
hub / github.com/perkeep/perkeep / NewFileReader

Method NewFileReader

pkg/schema/filereader.go:96–98  ·  view source on GitHub ↗
(fetcher blob.Fetcher)

Source from the content-addressed store, hash-verified

94}
95
96func (b *Blob) NewFileReader(fetcher blob.Fetcher) (*FileReader, error) {
97 return b.ss.NewFileReader(fetcher)
98}
99
100// NewFileReader returns a new FileReader, reading bytes and blobs
101// from the provided fetcher.

Callers 8

readPrefixOrFileFunction · 0.45
populateFileMethod · 0.45
cachedMethod · 0.45
checkFilesMethod · 0.45
NewFileReaderFunction · 0.45
foreachChunkMethod · 0.45
TestReaderFunction · 0.45
OpenMethod · 0.45

Calls

no outgoing calls

Tested by 1

TestReaderFunction · 0.36