|
|
|
|
|
|
|
|
|
|
|
chdir(self,
dir,
change_os_dir=0)
Change the current working directory for lookups.
If change_os_dir is true, we will also change the "real" cwd
to match. |
source code
|
|
|
get_root(self,
drive)
Returns the root directory for the specified drive, creating
it if necessary. |
source code
|
|
|
_lookup(self,
p,
directory,
fsclass,
create=1)
The generic entry point for Node lookup with user-supplied data. |
source code
|
|
|
Entry(self,
name,
directory=None,
create=1)
Look up or create a generic Entry node with the specified name.
If the name is a relative path (begins with ./, ../, or a file
name), then it is looked up relative to the supplied directory
node, or to the top level directory of the FS (supplied at
construction time) if no directory is supplied. |
source code
|
|
|
File(self,
name,
directory=None,
create=1)
Look up or create a File node with the specified name. If
the name is a relative path (begins with ./, ../, or a file name),
then it is looked up relative to the supplied directory node,
or to the top level directory of the FS (supplied at construction
time) if no directory is supplied. |
source code
|
|
|
Dir(self,
name,
directory=None,
create=True)
Look up or create a Dir node with the specified name. If
the name is a relative path (begins with ./, ../, or a file name),
then it is looked up relative to the supplied directory node,
or to the top level directory of the FS (supplied at construction
time) if no directory is supplied. |
source code
|
|
|
VariantDir(self,
variant_dir,
src_dir,
duplicate=1)
Link the supplied variant directory to the source directory
for purposes of building files. |
source code
|
|
|
Repository(self,
*dirs)
Specify Repository directories to search. |
source code
|
|
|
|
|
|
|
Glob(self,
pathname,
ondisk=True,
source=True,
strings=False,
exclude=None,
cwd=None)
Globs |
source code
|
|
Inherited from LocalFS :
chmod ,
copy ,
copy2 ,
exists ,
getmtime ,
getsize ,
isdir ,
isfile ,
islink ,
link ,
listdir ,
lstat ,
makedirs ,
mkdir ,
open ,
readlink ,
rename ,
stat ,
symlink ,
unlink
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|