MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / WriteToFile

Method WriteToFile

internal/caches/partial_ranges.go:173–176  ·  view source on GitHub ↗

WriteToFile 写入到文件中

(path string)

Source from the content-addressed store, hash-verified

171
172// WriteToFile 写入到文件中
173func (this *PartialRanges) WriteToFile(path string) error {
174 SharedPartialRangesQueue.Put(path, this.Bytes())
175 return nil
176}
177
178// Max 获取最大位置
179func (this *PartialRanges) Max() int64 {

Callers 1

CloseMethod · 0.80

Calls 2

BytesMethod · 0.95
PutMethod · 0.45

Tested by

no test coverage detected