-#!/usr/bin/python
-
"""
DictFS allows you to easily create read-only filesystems when the
file tree is known in advance.
"""
This property should be overridden in your DictFS descendant
"""
- return dict(Hello='World',
- Directory=dict(a='a', b='b', c=routefs.Symlink('a')))
+ return dict()
def make_map(self):
m = Mapper()
return
if type(tree) is dict:
- return routefs.Directory(tree.keys())
+ return tree.keys()
else:
return tree
-
-if __name__ == '__main__':
- routefs.main(DictFS)