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 | 838d94c3f7bf27de847d40164724f59f33a7682b (patch) | |
tree | a4449d264b612fc04e946a5f19ed6dcbe998f0f6 /fs/tempfs.py | |
parent | e4fe27c2dcb3e3540e0fb91b9cba40db2a66f06d (diff) | |
download | pyfilesystem-git-838d94c3f7bf27de847d40164724f59f33a7682b.tar.gz |
Fixed getmeta/hasmeta, added documentation and tests
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): |