|
|
|
|
|
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_content_hash(self)
Compute and return the MD5 hash for this file. |
source code
|
|
|
|
|
|
|
store_info(self)
Make the build signature permanent (that is, store it in the
.sconsign file or equivalent). |
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_timestamp_then_content(self,
target,
prev_ni) |
source code
|
|
|
changed_timestamp_newer(self,
target,
prev_ni) |
source code
|
|
|
changed_timestamp_match(self,
target,
prev_ni) |
source code
|
|
|
decide_source(self,
target,
prev_ni)
Must be overridden in a specific subclass to return True if this
Node (a dependency) has changed since the last time it was used
to build the specified target. prev_ni is this Node's state (for
example, its file timestamp, length, maybe content signature)
as of the last time the target was built. |
source code
|
|
|
|
|
changed_since_last_build(self,
target,
prev_ni)
Must be overridden in a specific subclass to return True if this
Node (a dependency) has changed since the last time it was used
to build the specified target. prev_ni is this Node's state (for
example, its file timestamp, length, maybe content signature)
as of the last time the target was built. |
source code
|
|
|
is_up_to_date(self)
Default check for whether the Node is current: unknown Node
subtypes are always out of date, so they will always get built. |
source code
|
|
|
|
|
rstr(self)
A Node.FS.Base object's string representation is its path
name. |
source code
|
|
|
|
|
|
|
|
Inherited from Base :
RDirs ,
Rfindalldirs ,
__str__ ,
for_signature ,
get_abspath ,
get_dir ,
get_path ,
get_subst_proxy ,
get_suffix ,
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 ,
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 ,
do_not_store_info ,
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 ,
state_has_changed
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|