diff options
author | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-11-20 18:04:23 +0000 |
---|---|---|
committer | willmcgugan <willmcgugan@67cdc799-7952-0410-af00-57a81ceafa0f> | 2010-11-20 18:04:23 +0000 |
commit | e8d9c4c5a6f2dd7170fb1b05e0eb26b42134b1fe (patch) | |
tree | a4449d264b612fc04e946a5f19ed6dcbe998f0f6 /fs/tempfs.py | |
parent | f92abf98e1500d6f486e230354105fa45782c7db (diff) | |
download | pyfilesystem-e8d9c4c5a6f2dd7170fb1b05e0eb26b42134b1fe.tar.gz |
Fixed getmeta/hasmeta, added documentation and tests
git-svn-id: http://pyfilesystem.googlecode.com/svn/trunk@534 67cdc799-7952-0410-af00-57a81ceafa0f
Diffstat (limited to 'fs/tempfs.py')
-rw-r--r-- | fs/tempfs.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/fs/tempfs.py b/fs/tempfs.py index 8f6b20c..87d8a30 100644 --- a/fs/tempfs.py +++ b/fs/tempfs.py @@ -23,7 +23,11 @@ class TempFS(OSFS): _meta = { 'virtual' : False, 'read_only' : False, 'unicode_paths' : os.path.supports_unicode_filenames, - 'case_insensitive_paths' : os.path.normcase('Aa') == 'aa', + 'case_insensitive_paths' : os.path.normcase('Aa') == 'aa', + 'network' : False, + 'atomic.makedir' : True, + 'atomic.rename' : True, + 'atomic.setcontents' : False } def __init__(self, identifier=None, temp_dir=None, dir_mode=0700, thread_synchronize=_thread_synchronize_default): |