MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / Init

Method Init

internal/caches/reader_file.go:36–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34}
35
36func (this *FileReader) Init() error {
37 return this.InitAutoDiscard(true)
38}
39
40func (this *FileReader) InitAutoDiscard(autoDiscard bool) error {
41 if this.openFile != nil {

Callers 2

TestFileReaderFunction · 0.95
TestFileReader_RangeFunction · 0.95

Calls 1

InitAutoDiscardMethod · 0.95

Tested by 2

TestFileReaderFunction · 0.76
TestFileReader_RangeFunction · 0.76