MCPcopy
hub / github.com/rclone/rclone / Size

Method Size

backend/cache/object.go:143–146  ·  view source on GitHub ↗

Size returns the cached Size

()

Source from the content-addressed store, hash-verified

141
142// Size returns the cached Size
143func (o *Object) Size() int64 {
144 _ = o.refresh(context.TODO())
145 return o.CacheSize
146}
147
148// Storable returns the cached Storable
149func (o *Object) Storable() bool {

Callers 4

OpenMethod · 0.95
writeObjectBytesMethod · 0.95
sizeMethod · 0.95

Calls 1

refreshMethod · 0.95

Tested by 3

writeObjectBytesMethod · 0.76
sizeMethod · 0.76