MCPcopy
hub / github.com/rclone/rclone / CachePath

Method CachePath

vfs/file.go:181–185  ·  view source on GitHub ↗

CachePath returns the full path of the file with the fs.LinkSuffix if appropriate We use this path when storing files in the cache.

()

Source from the content-addressed store, hash-verified

179//
180// We use this path when storing files in the cache.
181func (f *File) CachePath() string {
182 f.mu.RLock()
183 defer f.mu.RUnlock()
184 return f._cachePath()
185}
186
187// Sys returns underlying data source (can be nil) - satisfies Node interface
188func (f *File) Sys() any {

Callers 4

RemoveMethod · 0.95
OpenMethod · 0.95
_purgeVirtualMethod · 0.80
newRWFileHandleFunction · 0.80

Calls 1

_cachePathMethod · 0.95

Tested by

no test coverage detected