|
|
|
_morph(self)
Turn a file system Node (either a freshly initialized directory
object or a separate Entry object) into a proper directory object. |
source code
|
|
|
|
|
__clearRepositoryCache(self,
duplicate=None)
Called when we change the repository(ies) for a directory.
This clears any cached information that is invalidated by changing
the repository. |
source code
|
|
|
|
|
Entry(self,
name)
Looks up or creates an entry node named 'name' relative to
this directory. |
source code
|
|
|
Dir(self,
name,
create=True)
Looks up or creates a directory node named 'name' relative to
this directory. |
source code
|
|
|
File(self,
name)
Looks up or creates a file node named 'name' relative to
this directory. |
source code
|
|
|
link(self,
srcdir,
duplicate)
Set this directory as the variant directory for the
supplied source directory. |
source code
|
|
|
getRepositories(self)
Returns a list of repositories for this directory. |
source code
|
|
|
|
|
|
|
|
|
|
|
rel_path(self,
other)
Return a path to "other" relative to this directory. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
_create(self)
Create this directory, silently and without worrying about
whether the builder is the default or not. |
source code
|
|
|
|
|
|
|
|
|
get_text_contents(self)
We already emit things in text, so just return the binary
version. |
source code
|
|
|
get_contents(self)
Return content signatures and names of all our children
separated by new-lines. Ensure that the nodes are sorted. |
source code
|
|
|
get_csig(self)
Compute the content signature for Directory nodes. In
general, this is not needed and the content signature is not
stored in the DirNodeInfo. However, if get_contents on a Dir
node is called which has a child directory, the child
directory should return the hash of its contents. |
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
|
|
|
|
|
|
|
sconsign(self)
Return the .sconsign file info for this directory,
creating it first if necessary. |
source code
|
|
|
srcnode(self)
Dir has a special need for srcnode()...if we
have a srcdir attribute set, then that is our srcnode. |
source code
|
|
|
get_timestamp(self)
Return the latest timestamp from among our children |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
walk(self,
func,
arg)
Walk this directory tree by calling the specified function
for each directory in the tree. |
source code
|
|
|
glob(self,
pathname,
ondisk=True,
source=False,
strings=False)
Returns a list of Nodes (or strings) matching a specified
pathname pattern. |
source code
|
|
|
_glob1(self,
pattern,
ondisk=True,
source=False,
strings=False)
Globs for and returns a list of entry names matching a single
pattern in this directory. |
source code
|
|
Inherited from Base :
RDirs ,
Rfindalldirs ,
__str__ ,
exists ,
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 ,
rfile ,
rstr ,
set_local ,
set_src_builder ,
src_builder ,
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 ,
builder_set ,
built ,
changed ,
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_cachedir_csig ,
get_env ,
get_executor ,
get_implicit_deps ,
get_ninfo ,
get_source_scanner ,
get_state ,
get_stored_implicit ,
get_stored_info ,
get_string ,
has_builder ,
has_explicit_builder ,
is_derived ,
is_literal ,
make_ready ,
missing ,
new_binfo ,
new_ninfo ,
postprocess ,
push_to_cache ,
release_target_info ,
remove ,
render_include_tree ,
reset_executor ,
retrieve_from_cache ,
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 ,
store_info ,
visited
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__subclasshook__
|