summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2008-09-04 16:48:10 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2008-09-04 16:48:10 +0000
commit82cde7bd81ea6f9acbed026291326985bc7fe356 (patch)
treeff8ead6942d100361bccde52f1421aae2e439d3e /fs
parent3c5cf8659fbc58f7767eb37c8f3b5442a5355589 (diff)
downloadpyfilesystem-82cde7bd81ea6f9acbed026291326985bc7fe356.tar.gz
Work in progress
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@49 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs')
-rw-r--r--fs/fs.py10
-rw-r--r--fs/multifs.py2
2 files changed, 11 insertions, 1 deletions
diff --git a/fs/fs.py b/fs/fs.py
index a89d48e..7eb47f5 100644
--- a/fs/fs.py
+++ b/fs/fs.py
@@ -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"
diff --git a/fs/multifs.py b/fs/multifs.py
index 71a2adc..d82c7d8 100644
--- a/fs/multifs.py
+++ b/fs/multifs.py
@@ -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