MCPcopy
hub / github.com/rclone/rclone / DirCacher

Interface DirCacher

lib/dircache/dircache.go:38–41  ·  view source on GitHub ↗

DirCacher describes an interface for doing the low level directory work This should be implemented by the backend and will be called by the dircache package when appropriate.

Source from the content-addressed store, hash-verified

36// This should be implemented by the backend and will be called by the
37// dircache package when appropriate.
38type DirCacher interface {
39 FindLeaf(ctx context.Context, pathID, leaf string) (pathIDOut string, found bool, err error)
40 CreateDir(ctx context.Context, pathID, leaf string) (newID string, err error)
41}
42
43// New makes a DirCache
44//

Callers 4

TestFindLeafFunction · 0.65
_findDirMethod · 0.65
mkdirMethod · 0.65
_findDirMethod · 0.65

Implementers 15

Fsbackend/ulozto/ulozto.go
Fsbackend/zoho/zoho.go
Fsbackend/opendrive/opendrive.go
Fsbackend/fichier/fichier.go
Fsbackend/internxt/internxt.go
Fsbackend/sugarsync/sugarsync.go
Fsbackend/gofile/gofile.go
Fsbackend/quatrix/quatrix.go
Fsbackend/premiumizeme/premiumizeme.go
Fsbackend/huaweidrive/huaweidrive.go
Fsbackend/protondrive/protondrive.go
Fsbackend/pcloud/pcloud.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…