Commit 5af99561 by rfkelly0

MountFS: add ability to unmount a file/dir

parent 38ab08b1
......@@ -220,6 +220,11 @@ class MountFS(FS):
self.mount_tree[path] = MountFS.FileMount(path, callable, info_callable)
@synchronize
def unmount(self,path):
path = normpath(path)
del self.mount_tree[path]
@synchronize
def getinfo(self, path):
path = normpath(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