MCPcopy
hub / github.com/rclone/rclone / noCache

Method noCache

lib/cache/cache.go:42–44  ·  view source on GitHub ↗

returns true if we aren't to cache anything

()

Source from the content-addressed store, hash-verified

40
41// returns true if we aren't to cache anything
42func (c *Cache) noCache() bool {
43 return c.expireDuration <= 0
44}
45
46// SetExpireInterval sets the interval at which the cache expiry runs
47//

Callers 3

GetMethod · 0.95
PutErrMethod · 0.95
TestCacheNoExpireFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestCacheNoExpireFunction · 0.64