File system nodes.
These Nodes represent the canonical external objects that people think
of when they think of building software: files and directories.
This holds a "default_fs" variable that should be initialized with an FS
that can be used by scripts or modules looking for the canonical default.
|
EntryProxyAttributeError
An AttributeError subclass for recording and displaying the name
of the underlying Entry involved in an AttributeError exception.
|
|
_Null
|
|
DiskChecker
|
|
EntryProxy
|
|
Base
A generic class for file system entries. This class is for
when we don't know yet whether the entry being looked up is a file
or a directory. Instances of this class can morph into either
Dir or File objects by a later, more precise lookup.
|
|
Entry
This is the class for generic Node.FS entries--that is, things
that could be a File or a Dir, but we're just not sure yet.
Consequently, the methods in this class really exist just to
transform their associated object into the right class when the
time comes, and then call the same-named method in the transformed
class.
|
|
_classEntry
This is the class for generic Node.FS entries--that is, things
that could be a File or a Dir, but we're just not sure yet.
Consequently, the methods in this class really exist just to
transform their associated object into the right class when the
time comes, and then call the same-named method in the transformed
class.
|
|
LocalFS
|
|
FS
|
|
DirNodeInfo
The generic base class for signature information for a Node.
|
|
DirBuildInfo
The generic base class for build information for a Node.
|
|
Dir
A class for directories in a file system.
|
|
RootDir
A class for the root directory of a file system.
|
|
FileNodeInfo
The generic base class for signature information for a Node.
|
|
FileBuildInfo
The generic base class for build information for a Node.
|
|
File
A class for files in a file system.
|
|
FileFinder
|
|
|
|
sconsign_dir(node)
Return the .sconsign file info for this directory,
creating it first if necessary. |
source code
|
|
|
|
|
|
|
|
|
needs_normpath_match(...)
match(string[, pos[, endpos]]) --> match object or None.
Matches zero or more characters at the beginning of the string |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
do_diskcheck_match(node,
predicate,
errorfmt) |
source code
|
|
|
ignore_diskcheck_match(node,
predicate,
errorfmt) |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
invalidate_node_memos(targets)
Invalidate the memoized values of all Nodes (files or directories)
that are associated with the given entries. Has been added to
clear the cache of nodes affected by a direct execution of an
action (e.g. Delete/Copy/Chmod). Existing Node caches become
inconsistent if the action is run through Execute(). The argument
targets can be a single Node object or filename, or a sequence
of Nodes/filenames. |
source code
|
|
|
__revision__ = ' src/engine/SCons/Node/FS.py rel_2.4.0:3365:925 ...
|
|
print_duplicate = 0
|
|
_sconsign_map = {0: sconsign_none, 1: sconsign_dir}
|
|
default_max_drift = 172800
|
|
Save_Strings = None
hash(x)
|
|
do_splitdrive = False
|
|
needs_normpath_check = re.compile(r'(?x) .* //| ( .* /) ? \.\.(?: /| $) ...
|
|
Valid_Duplicates = [ ' hard-soft-copy ' , ' soft-hard-copy ' , ' hard- ...
|
|
Link_Funcs = [ ]
|
|
Link = SCons.Action.Action(LinkFunc, None)
|
|
LocalCopy = SCons.Action.Action(LinkFunc, LocalString)
|
|
Unlink = SCons.Action.Action(UnlinkFunc, None)
|
|
Mkdir = SCons.Action.Action(MkdirFunc, None, presub= None)
|
|
MkdirBuilder = None
hash(x)
|
|
_null = _Null()
|
|
DefaultSCCSBuilder = None
hash(x)
|
|
DefaultRCSBuilder = None
hash(x)
|
|
_is_cygwin = False
|
|
diskcheck_match = DiskChecker('match', do_diskcheck_match, ign...
|
|
diskcheck_rcs = DiskChecker('rcs', do_diskcheck_rcs, ignore_di...
|
|
diskcheck_sccs = DiskChecker('sccs', do_diskcheck_sccs, ignore...
|
|
diskcheckers = [diskcheck_match, diskcheck_rcs, diskcheck_sccs,]
|
|
node_bwcomp = { ' abspath ' : <unbound method Base.get_abspath>, ' ...
|
|
glob_magic_check = re.compile(r'[ \*\?\[] ')
|
|
default_fs = None
hash(x)
|
|
OS_SEP = ' / '
|
|
UNC_PREFIX = ' // '
|
|
__package__ = ' SCons.Node '
|
|
has_unc = False
|
|
os_sep_is_slash = True
|