Methods
|
|
|
|
__init__
|
__init__ (
self,
root,
wd='/',
)
|
|
__repr__
|
__repr__ ( self )
|
|
cdup
|
cdup ( self )
|
|
current_directory
|
current_directory ( self )
|
|
cwd
|
cwd ( self, path )
cwd, cdup, open, listdir
|
|
isdir
|
isdir ( self, path )
|
|
isfile
|
isfile ( self, path )
|
|
listdir
|
listdir (
self,
path,
long=0,
)
|
|
longify
|
longify ( self, ( )
|
|
mkdir
|
mkdir ( self, path )
|
|
normalize
|
normalize ( self, path )
utility methods
|
|
open
|
open (
self,
path,
mode,
)
|
|
rmdir
|
rmdir ( self, path )
|
|
stat
|
stat ( self, path )
TODO: implement a cache w/timeout for stat()
|
|
translate
|
translate ( self, path )
|
|
unlink
|
unlink ( self, path )
|
|