forked from TrueCloudLab/rclone
Ignore rmdir in limited fs rather than throwing error - fixes #112
This commit is contained in:
parent
8e3d45d2dc
commit
5c226e91c0
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@ func (f *Limited) Mkdir() error {
|
||||||
|
|
||||||
// Remove the directory (container, bucket) if empty
|
// Remove the directory (container, bucket) if empty
|
||||||
func (f *Limited) Rmdir() error {
|
func (f *Limited) Rmdir() error {
|
||||||
return fmt.Errorf("Can't rmdir in limited fs")
|
// Ignore this in a limited fs
|
||||||
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Precision of the ModTimes in this Fs
|
// Precision of the ModTimes in this Fs
|
||||||
|
|
Loading…
Add table
Reference in a new issue