diff --git a/drive/drive.go b/drive/drive.go index 133cf9790..f04efd469 100644 --- a/drive/drive.go +++ b/drive/drive.go @@ -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 }