MCPcopy
hub / github.com/rclone/rclone / Purge

Method Purge

backend/mega/mega.go:732–734  ·  view source on GitHub ↗

Purge deletes all the files in the directory Optional interface: Only implement this if you have a way of deleting all the files quicker than just running Remove() on the result of List()

(ctx context.Context, dir string)

Source from the content-addressed store, hash-verified

730// deleting all the files quicker than just running Remove() on the
731// result of List()
732func (f *Fs) Purge(ctx context.Context, dir string) error {
733 return f.purgeCheck(ctx, dir, false)
734}
735
736// move a file or folder (srcFs, srcRemote, info) to (f, dstRemote)
737//

Callers

nothing calls this directly

Calls 1

purgeCheckMethod · 0.95

Tested by

no test coverage detected