Commit a797dfb3 by willmcgugan

Work in progress

parent 60e6eff7
......@@ -392,9 +392,19 @@ class FS(object):
raise UnsupportedError("UNSUPPORTED")
def getinfo(self, path):
"""Returns information for a path as a dictionary.
path -- A path to retrieve information for
"""
raise UnsupportedError("UNSUPPORTED")
def desc(self, path):
"""Returns short descriptive text regarding a path. For use as a debugging aid.
path -- A path to describe
"""
if not self.exists(path):
return "No description available"
......
......@@ -25,7 +25,7 @@ class MultiFS(FS):
self._lock.release()
def addfs(self, name, fs):
"""Adds a filesystem to the MultiFS
"""Adds a filesystem to the MultiFS.
name -- A unique name to refer to the filesystem being added
fs -- The filesystem to add
......
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