MCPcopy
hub / github.com/rclone/rclone / AddDir

Method AddDir

backend/cache/storage_persistent.go:192–194  ·  view source on GitHub ↗

AddDir will update a CachedDirectory metadata and all its entries

(cachedDir *Directory)

Source from the content-addressed store, hash-verified

190
191// AddDir will update a CachedDirectory metadata and all its entries
192func (b *Persistent) AddDir(cachedDir *Directory) error {
193 return b.AddBatchDir([]*Directory{cachedDir})
194}
195
196// AddBatchDir will update a list of CachedDirectory metadata and all their entries
197func (b *Persistent) AddBatchDir(cachedDirs []*Directory) error {

Callers 4

ListMethod · 0.45
ListRMethod · 0.45
MkdirMethod · 0.45
readZipMethod · 0.45

Calls 1

AddBatchDirMethod · 0.95

Tested by

no test coverage detected