MCPcopy 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
147func (this *PartialFileReader) discard() error {
148 SharedPartialRangesQueue.Delete(this.rangePath)
149 _ = fsutils.Remove(this.rangePath)
150
151 return this.FileReader.discard()
152}

Callers 1

InitAutoDiscardMethod · 0.95

Calls 2

DeleteMethod · 0.65
RemoveMethod · 0.65

Tested by

no test coverage detected