MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / GetSize

Method GetSize

internal/stream/stream.go:37–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (f *FileStream) GetSize() int64 {
38 if f.size > 0 {
39 return f.size
40 }
41 return f.Obj.GetSize()
42}
43
44func (f *FileStream) GetMimetype() string {
45 return f.Mimetype

Callers 4

PutMethod · 0.95
CacheFullAndWriterMethod · 0.95
RangeReadMethod · 0.95
ensureCacheMethod · 0.95

Calls 1

GetSizeMethod · 0.65

Tested by

no test coverage detected