# Functions
FindCapture traverses the path nodes looking for a Capture path node.
FindCommand traverses the path nodes looking for a Command path node.
HasRoot returns true iff p starts with root, using equal as the node comparision function.
NewAPI returns a new API path node with the given ID.
NewArrayIndex returns a new ArrayIndex path.
NewBlob returns a new Blob path node with the given ID.
NewCapture returns a new Capture path node with the given ID.
NewDevice returns a new Device path node with the given ID.
NewField returns a new Field path.
NewID returns a new ID from an id.ID.
NewImageInfo returns a new ImageInfo path node with the given ID.
NewMapIndex returns a new MapIndex path.
NewMeshOptions returns a new MeshOptions object.
NewSlice returns a new Slice path.
ShallowEqual returns true if paths a and b are equal (ignoring parents).
ToList unchains the parents of each node, returning them as a list, starting with the root node.
Transform transforms each of the nodes in the chain using the function f.