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

Method GetFile

internal/model/obj.go:52–52  ·  view source on GitHub ↗

if the Stream is not a File and is not cached, returns nil.

()

Source from the content-addressed store, hash-verified

50 CacheFullAndWriter(up *UpdateProgress, writer io.Writer) (File, error)
51 // if the Stream is not a File and is not cached, returns nil.
52 GetFile() File
53}
54
55type UpdateProgress func(percentage float64)

Callers 10

fastUploadMethod · 0.65
PutMethod · 0.65
PutMethod · 0.65
OldUploadMethod · 0.65
PutMethod · 0.65
getNewFileMethod · 0.65
RangeReadMethod · 0.65
NewReadAtSeekerFunction · 0.65
NewStreamSectionReaderFunction · 0.65

Implementers 1

FileStreaminternal/stream/stream.go

Calls

no outgoing calls

Tested by

no test coverage detected