mirror of
https://github.com/rclone/rclone.git
synced 2024-11-26 10:13:52 +08:00
drive: Fix comment
This commit is contained in:
parent
eb2b4ea8aa
commit
e40b09fe61
|
@ -796,7 +796,9 @@ func (fs *FsDrive) Precision() time.Duration {
|
|||
|
||||
// Purge deletes all the files and the container
|
||||
//
|
||||
// Returns an error if it isn't empty
|
||||
// Optional interface: Only implement this if you have a way of
|
||||
// deleting all the files quicker than just running Remove() on the
|
||||
// result of List()
|
||||
func (f *FsDrive) Purge() error {
|
||||
if f.root == "" {
|
||||
return fmt.Errorf("Can't purge root directory")
|
||||
|
|
Loading…
Reference in New Issue
Block a user