MCPcopy
hub / github.com/rclone/rclone / Storable

Method Storable

backend/cache/object.go:149–152  ·  view source on GitHub ↗

Storable returns the cached Storable

()

Source from the content-addressed store, hash-verified

147
148// Storable returns the cached Storable
149func (o *Object) Storable() bool {
150 _ = o.refresh(context.TODO())
151 return o.CacheStorable
152}
153
154// refresh will check if the object info is expired and request the info from source if it is
155// all these conditions must be true to ignore a refresh

Callers

nothing calls this directly

Calls 1

refreshMethod · 0.95

Tested by

no test coverage detected