Created
March 25, 2019 17:13
-
-
Save ishuah/b6a95d19063ff7f450ddc6959e3f0d57 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func (f *Fs) CleanUp() error { | |
err := f.pacer.Call(func() (bool, error) { | |
err := f.svc.Files.EmptyTrash().Do() | |
return shouldRetry(err) | |
}) | |
if err != nil { | |
return err | |
} | |
return nil | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment