clearRoot unsets the root directory
()
| 463 | |
| 464 | // clearRoot unsets the root directory |
| 465 | func (f *Fs) clearRoot() { |
| 466 | f.rootNodeMu.Lock() |
| 467 | f._rootNode = nil |
| 468 | f.rootNodeMu.Unlock() |
| 469 | //log.Printf("cleared root directory") |
| 470 | } |
| 471 | |
| 472 | // CleanUp deletes all files currently in trash |
| 473 | func (f *Fs) CleanUp(ctx context.Context) (err error) { |
no test coverage detected