| Home | Trees | Index | Help |
|
|---|
| Package SCons :: Package Node :: Module FS :: Class FS |
|
LocalFS --+
|
FS
| Method Summary | |
|---|---|
Initialize the Node.FS subsystem. | |
Create targets in corresponding build directories | |
Link the supplied build directory to the source directory for purposes of building files. | |
Change the current working directory for lookups. | |
Lookup or create a Dir node with the specified name. | |
Lookup or create a generic Entry node with the specified name. | |
Lookup or create a File node with the specified name. | |
get_max_drift(self)
| |
Returns the root directory for the specified drive, creating it if necessary. | |
getcwd(self)
| |
Globs | |
Specify Repository directories to search. | |
set_max_drift(self,
max_drift)
| |
set_SConstruct_dir(self,
dir)
| |
| Inherited from LocalFS | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Class Variable Summary | |
|---|---|
list |
memoizer_counters = []
|
| Method Details |
|---|
__init__(self,
path=None)
|
build_dir_target_climb(self, orig, dir, tail)Create targets in corresponding build directories Climb the directory tree, and look up path names relative to any linked build directories we find. Even though this loops and walks up the tree, we don't memoize the return value because this is really only used to process the command-line targets. |
BuildDir(self, build_dir, src_dir, duplicate=1)Link the supplied build directory to the source directory for purposes of building files. |
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. |
Dir(self, name, directory=None, create=True)Lookup 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. This method will raise TypeError if a normal file is found at the specified path. |
Entry(self, name, directory=None, create=1)Lookup 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. |
File(self, name, directory=None, create=1)Lookup 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. This method will raise TypeError if a directory is found at the specified path. |
get_root(self, drive)Returns the root directory for the specified drive, creating it if necessary. |
Glob(self, pathname, ondisk=True, source=True, strings=False, cwd=None)Globs This is mainly a shim layer |
Repository(self, *dirs)Specify Repository directories to search. |
| Class Variable Details |
|---|
memoizer_counters
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Dec 12 09:39:32 2007 | http://epydoc.sf.net |