Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
36
func
(this *FileReader) Init() error {
37
return
this.InitAutoDiscard(true)
38
}
39
40
func
(this *FileReader) InitAutoDiscard(autoDiscard bool) error {
41
if
this.openFile != nil {
Callers
2
TestFileReader
Function · 0.95
TestFileReader_Range
Function · 0.95
Calls
1
InitAutoDiscard
Method · 0.95
Tested by
2
TestFileReader
Function · 0.76
TestFileReader_Range
Function · 0.76