mirror of
https://github.com/rclone/rclone.git
synced 2025-01-22 22:28:47 +01:00
drive: Flush directory cache on Purge
This commit is contained in:
parent
1527e64ee7
commit
f9b31591f9
@ -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 New Issue
Block a user