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.Contexthas a uniqueNodesubclass required for serialization. (waflib.Node.Nod3, see thewaflib.Context.Contextinitializer). A reference to the context owning a node is held as self.ctx