850
858
>>> inv = Inventory('TREE_ROOT-12345678-12345678')
851
859
>>> inv.add(InventoryFile('123-123', 'hello.c', ROOT_ID))
852
863
InventoryFile('123-123', 'hello.c', parent_id='TREE_ROOT-12345678-12345678', sha1=None, len=None)
854
865
def __init__(self, root_id=ROOT_ID, revision_id=None):