AddDir will update a CachedDirectory metadata and all its entries
(cachedDir *Directory)
| 190 | |
| 191 | // AddDir will update a CachedDirectory metadata and all its entries |
| 192 | func (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 |
| 197 | func (b *Persistent) AddBatchDir(cachedDirs []*Directory) error { |
no test coverage detected