Commit b182e75e by rfkelly0

MultiFS: support "force" argument in removedir

parent 1c343974
......@@ -205,10 +205,10 @@ class MultiFS(FS):
raise ResourceNotFoundError(path)
@synchronize
def removedir(self, path, recursive=False):
def removedir(self, path, recursive=False, force=False):
for fs in self:
if fs.isdir(path):
fs.removedir(path, recursive)
fs.removedir(path, recursive=recursive, force=force)
return
raise ResourceNotFoundError(path)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment