forked from TrueCloudLab/rclone
drive: Flush directory cache on Purge
This commit is contained in:
parent
1527e64ee7
commit
f9b31591f9
1 changed files with 1 additions and 0 deletions
|
@ -708,6 +708,7 @@ func (f *FsDrive) Purge() error {
|
|||
return err
|
||||
}
|
||||
err = f.svc.Files.Delete(f.rootId).Do()
|
||||
f.dirCache.Flush()
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue