NodeΒΆ

Node: filesystem structure

  1. Each file/folder is represented by exactly one node.

  2. 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.

  3. Node objects should never be created directly, use the methods Node.make_node() or Node.find_node() for the low-level operations

  4. The methods Node.find_resource(), Node.find_dir() Node.find_or_declare() must be used when a build context is present

  5. Each instance of waflib.Context.Context has a unique Node subclass required for serialization. (waflib.Node.Nod3, see the waflib.Context.Context initializer). A reference to the context owning a node is held as self.ctx