source: trunk/packages/python-routefs/routefs/examples/dictexfs.py @ 1249

Last change on this file since 1249 was 981, checked in by broder, 16 years ago

Import RouteFS for new versions of ConsoleFS and RemconfFS

  • Property svn:executable set to *
File size: 225 bytes
Line 
1#!/usr/bin/python
2
3import routefs
4
5class DictExFS(routefs.DictFS):
6    files = dict(Hello='World',
7                 Directory=dict(a='a', b='b', c=routefs.Symlink('a')))
8
9if __name__ == '__main__':
10    routefs.main(DictExFS)
Note: See TracBrowser for help on using the repository browser.