mirror of
https://gitlab.com/ita1024/waf.git
synced 2025-01-26 18:20:22 +01:00
docs
This commit is contained in:
parent
f953165688
commit
5b577a9109
@ -97,6 +97,8 @@ class Node(object):
|
||||
|
||||
* The basic methods meant for filesystem access (compute paths, create folders, etc)
|
||||
* The methods bound to a :py:class:`waflib.Build.BuildContext` (require ``bld.srcnode`` and ``bld.bldnode``)
|
||||
|
||||
The Node objects are not thread safe in any way.
|
||||
"""
|
||||
|
||||
__slots__ = ('name', 'sig', 'children', 'parent', 'cache_abspath', 'cache_isdir')
|
||||
@ -504,7 +506,8 @@ class Node(object):
|
||||
|
||||
For more information see http://ant.apache.org/manual/dirtasks.html
|
||||
|
||||
The nodes that correspond to files and folders that do not exist will be removed
|
||||
The nodes that correspond to files and folders that do not exist will be removed. To prevent this
|
||||
behaviour, pass 'remove=False'
|
||||
|
||||
:param incl: ant patterns or list of patterns to include
|
||||
:type incl: string or list of strings
|
||||
|
@ -266,7 +266,8 @@ class TaskBase(evil):
|
||||
|
||||
def run(self):
|
||||
"""
|
||||
Execute the task (executed by threads). Override in subclasses.
|
||||
Called by threads to execute the tasks. The default is empty and meant to be overridden in subclasses.
|
||||
It is a bad idea to create nodes in this method (so, no node.ant_glob)
|
||||
|
||||
:rtype: int
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user