|
|
|
|
|
_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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
_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
|
|
|
|
|
|
|
|
|
|
|
|
|
sconsign(self)
Return the .sconsign file info for this directory. |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
entry_exists_on_disk(self,
name)
Searches through the file/dir entries of the current
directory, and returns True if a physical entry with the given
name could be found. |
source code
|
|
|
|
rentry_exists_on_disk(self,
name)
Searches through the file/dir entries of the current
and all its remote directories (repos), and returns
True if a physical entry with the given name could be found.
The local directory (self) gets searched first, so
repositories take a lower precedence regarding the
searching order. |
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,
exclude=None)
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,
__getattr__,
__lt__,
__str__,
exists,
for_signature,
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,
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,
builder_set,
built,
changed,
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_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,
visited
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__subclasshook__
|