MCPcopy
hub / github.com/rclone/rclone / Purger

Interface Purger

fs/features.go:506–514  ·  view source on GitHub ↗

Purger is an optional interfaces for Fs

Source from the content-addressed store, hash-verified

504
505// Purger is an optional interfaces for Fs
506type Purger interface {
507 // Purge all files in the directory specified
508 //
509 // Implement this if you have a way of deleting all the files
510 // quicker than just running Remove() on the result of List()
511 //
512 // Return an error if it doesn't exist
513 Purge(ctx context.Context, dir string) error
514}
515
516// Copier is an optional interface for Fs
517type Copier interface {

Callers 3

PurgeMethod · 0.65
PurgeMethod · 0.65

Implementers 15

Persistentbackend/cache/storage_persistent.go
Fsbackend/cache/cache.go
Fsbackend/mega/mega.go
Fsbackend/yandex/yandex.go
Fsbackend/hdfs/fs.go
Fsbackend/mailru/mailru.go
Fsbackend/zoho/zoho.go
Fsbackend/filelu/filelu.go
Fsbackend/union/union.go
Fsbackend/opendrive/opendrive.go
Fsbackend/filen/filen.go
Fsbackend/storj/fs.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…