MCPcopy
hub / github.com/rclone/rclone / Fs

Struct Fs

backend/cache/cache.go:319–340  ·  view source on GitHub ↗

Fs represents a wrapped fs.Fs

Source from the content-addressed store, hash-verified

317
318// Fs represents a wrapped fs.Fs
319type Fs struct {
320 fs.Fs
321 wrapper fs.Fs
322
323 name string
324 root string
325 opt Options // parsed options
326 features *fs.Features // optional features
327 cache *Persistent
328 tempFs fs.Fs
329
330 lastChunkCleanup time.Time
331 cleanupMu sync.Mutex
332 rateLimiter *rate.Limiter
333 plexConnector *plexConnector
334 backgroundRunner *backgroundWriter
335 cleanupChan chan bool
336 parentsForgetFn []func(string, fs.EntryType)
337 notifiedRemotes map[string]bool
338 notifiedMu sync.Mutex
339 parentsForgetMu sync.Mutex
340}
341
342// parseRootPath returns a cleaned root path and a nil error or "" and an error when the path is invalid
343func parseRootPath(path string) (string, error) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected