Ignore rmdir in limited fs rather than throwing error - fixes #112

This commit is contained in:
Nick Craig-Wood 2015-08-25 19:16:25 +01:00
parent 8e3d45d2dc
commit 5c226e91c0

View File

@ -81,7 +81,8 @@ func (f *Limited) Mkdir() error {
// Remove the directory (container, bucket) if empty
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