Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/GoEdgeLab/EdgeNode
/ discard
Method
discard
internal/caches/reader_partial_file.go:147–152 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
145
}
146
147
func
(this *PartialFileReader) discard() error {
148
SharedPartialRangesQueue.Delete(this.rangePath)
149
_ = fsutils.Remove(this.rangePath)
150
151
return
this.FileReader.discard()
152
}
Callers
1
InitAutoDiscard
Method · 0.95
Calls
2
Delete
Method · 0.65
Remove
Method · 0.65
Tested by
no test coverage detected