|
|
|
|
|
|
|
|
Entry(self,
name)
Create an entry node named 'name' relative to
the directory of this file. |
source code
|
|
|
|
Dir(self,
name,
create=True)
Create a directory node named 'name' relative to
the directory of this file. |
source code
|
|
|
|
Dirs(self,
pathlist)
Create a list of directories relative to the SConscript
directory of this file. |
source code
|
|
|
|
File(self,
name)
Create a file node named 'name' relative to
the directory of this file. |
source code
|
|
|
|
_morph(self)
Turn a file system node into a File object. |
source code
|
|
|
|
|
|
|
|
|
|
get_text_contents(self)
This attempts to figure out what the encoding of the text is
based upon the BOM bytes, and then decodes the contents so that
it's a valid python string. |
source code
|
|
|
|
get_content_hash(self)
Compute and return the MD5 hash for this file. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| _get_found_includes_key(self,
env,
scanner,
path) |
source code
|
|
|
|
get_found_includes(self,
env,
scanner,
path)
Return the included implicit dependencies in this file.
Cache results so we only scan the file once per path
regardless of how many times this information is requested. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
visited(self)
Called just after this node has been visited (with or
without a build). |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
get_max_drift_csig(self)
Returns the content signature currently stored for this node
if it's been unmodified longer than the max_drift value, or the
max_drift value is 0. Returns None otherwise. |
source code
|
|
|
|
get_csig(self)
Generate a node's content signature, the digested signature
of its content. |
source code
|
|
|
|
|
|
|
|
|
|
changed(self,
node=None,
allowcache=False)
Returns if the node is up-to-date with respect to the BuildInfo
stored last time it was built. |
source code
|
|
|
|
| changed_content(self,
target,
prev_ni,
repo_node=None) |
source code
|
|
|
|
| changed_state(self,
target,
prev_ni,
repo_node=None) |
source code
|
|
|
|
|
|
|
_add_strings_to_dependency_map(self,
dmap)
In the case comparing node objects isn't sufficient, we'll add the strings for the nodes to the dependency map
:return: |
source code
|
|
|
|
|
|
|
|
|
|
| changed_timestamp_newer(self,
target,
prev_ni,
repo_node=None) |
source code
|
|
|
|
changed_timestamp_match(self,
target,
prev_ni,
repo_node=None)
Return True if the timestamps don't match or if there is no previous timestamp
:param target:
:param prev_ni: Information about the node from the previous build
:return: |
source code
|
|
|
|
is_up_to_date(self)
Check for whether the Node is current
In all cases self is the target we're checking to see if it's up to date |
source code
|
|
|
|
|
|
|
find_repo_file(self)
For this node, find if there exists a corresponding file in one or more repositories
:return: list of corresponding files in repositories |
source code
|
|
|
|
rstr(self)
A Node.FS.Base object's string representation is its path
name. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
Inherited from Base:
RDirs,
Rfindalldirs,
__getattr__,
__lt__,
__str__,
for_signature,
get_abspath,
get_dir,
get_internal_path,
get_labspath,
get_path,
get_path_elements,
get_subst_proxy,
get_suffix,
get_tpath,
getmtime,
getsize,
is_under,
isdir,
isfile,
islink,
must_be_same,
rentry,
rexists,
set_local,
set_src_builder,
src_builder,
srcnode,
stat,
str_for_display,
target_from_source
Inherited from Node:
Decider,
GetTag,
Tag,
add_dependency,
add_ignore,
add_prerequisite,
add_source,
add_to_implicit,
add_to_waiting_parents,
add_to_waiting_s_e,
add_wkid,
all_children,
build,
children,
children_are_up_to_date,
clear,
clear_memoized_values,
del_binfo,
disambiguate,
env_set,
executor_cleanup,
explain,
get_binfo,
get_build_env,
get_build_scanner_path,
get_builder,
get_env,
get_env_scanner,
get_executor,
get_implicit_deps,
get_ninfo,
get_source_scanner,
get_state,
get_string,
get_target_scanner,
has_builder,
has_explicit_builder,
is_derived,
is_literal,
missing,
multiple_side_effect_has_builder,
new_binfo,
new_ninfo,
postprocess,
render_include_tree,
reset_executor,
scan,
select_scanner,
set_always_build,
set_executor,
set_explicit,
set_nocache,
set_noclean,
set_precious,
set_pseudo,
set_specific_source,
set_state
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__subclasshook__
|