MCPcopy
hub / github.com/OpenListTeam/OpenList / FreeSectionReader

Method FreeSectionReader

internal/stream/util.go:180–180  ·  view source on GitHub ↗

线程安全

(sr io.ReadSeeker)

Source from the content-addressed store, hash-verified

178 GetSectionReader(off, length int64) (io.ReadSeeker, error)
179 // 线程安全
180 FreeSectionReader(sr io.ReadSeeker)
181 // 线程不安全
182 DiscardSection(off int64, length int64) error
183}

Callers 15

PutMethod · 0.95
upRemoteMethod · 0.95
upOneDriveMethod · 0.95
upS3Method · 0.95
uploadMethod · 0.95
StreamUploadMethod · 0.95
uploadToSessionMethod · 0.95
UploadMethod · 0.95
UploadByMultipartMethod · 0.95
UploadMethod · 0.95
upRemoteMethod · 0.95
upOneDriveMethod · 0.95

Implementers 2

cachedSectionReaderinternal/stream/util.go
hybridSectionReaderinternal/stream/util.go

Calls

no outgoing calls

Tested by

no test coverage detected