NodeΒΆ
Node: filesystem structure
Each file/folder is represented by exactly one node.
Some potential class properties are stored on
waflib.Build.BuildContext
: nodes to depend on, etc. Unused class members can increase the .wafpickle file size sensibly.Node objects should never be created directly, use the methods
Node.make_node()
orNode.find_node()
for the low-level operationsThe methods
Node.find_resource()
,Node.find_dir()
Node.find_or_declare()
must be used when a build context is presentEach instance of
waflib.Context.Context
has a uniqueNode
subclass required for serialization. (waflib.Node.Nod3
, see thewaflib.Context.Context
initializer). A reference to the context owning a node is held as self.ctx