source:
branches/fc13-dev/server/common/oursrc/python-routefs/routefs/examples/dictexfs.py
@
  2016
        
        | Last change on this file since 2016 was 838, checked in by andersk, 17 years ago | |
|---|---|
| 
 | |
| File size: 225 bytes | |
| Line | |
|---|---|
| 1 | #!/usr/bin/python | 
| 2 | |
| 3 | import routefs | 
| 4 | |
| 5 | class DictExFS(routefs.DictFS): | 
| 6 | files = dict(Hello='World', | 
| 7 | Directory=dict(a='a', b='b', c=routefs.Symlink('a'))) | 
| 8 | |
| 9 | if __name__ == '__main__': | 
| 10 | routefs.main(DictExFS) | 
Note: See TracBrowser
        for help on using the repository browser.
    
