mirror of
https://github.com/rclone/rclone.git
synced 2025-01-24 12:56:36 +02: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…
x
Reference in New Issue
Block a user