MCPcopy Create free account
hub / github.com/boostorg/build / __init__

Method __init__

test/tree.py:41–47  ·  view source on GitHub ↗
(self, name, children=None, contents=None)

Source from the content-addressed store, hash-verified

39 """
40
41 def __init__(self, name, children=None, contents=None):
42 assert children is None or contents is None
43 self.name = name
44 self.mtime = 0
45 self.children = children
46 self.contents = contents
47 self.path = name
48
49 def add_child(self, newchild):
50 assert not self.is_file()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected