summaryrefslogtreecommitdiff
path: root/fs/memoryfs.py
diff options
context:
space:
mode:
authorwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-11-07 17:18:50 +0000
committerwillmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f>2010-11-07 17:18:50 +0000
commitc73ab0891377d813ff459e2f9d7b953a3817f85f (patch)
treef8b9a0f732ac38e18ce6ade266f12478dd2964c0 /fs/memoryfs.py
parent9f3cc97b77ef71ae0937a428797a5cb48a7db20c (diff)
downloadpyfilesystem-c73ab0891377d813ff459e2f9d7b953a3817f85f.tar.gz
Added getmeta and hasmeta methods
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@526 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/memoryfs.py')
-rw-r--r--fs/memoryfs.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/fs/memoryfs.py b/fs/memoryfs.py
index e4f0943..b4a462d 100644
--- a/fs/memoryfs.py
+++ b/fs/memoryfs.py
@@ -183,6 +183,12 @@ class MemoryFS(FS):
"""An in-memory filesystem.
"""
+
+ _meta = { 'virtual': False,
+ 'read_only' : False,
+ 'unicode_paths' : True,
+ 'case_insensitive_paths' : False
+ }
def _make_dir_entry(self, *args, **kwargs):
return self.dir_entry_factory(*args, **kwargs)