856
856
>>> inv = Inventory('TREE_ROOT-12345678-12345678')
857
857
>>> inv.add(InventoryFile('123-123', 'hello.c', ROOT_ID))
858
861
InventoryFile('123-123', 'hello.c', parent_id='TREE_ROOT-12345678-12345678', sha1=None, len=None)
860
863
def __init__(self, root_id=ROOT_ID, revision_id=None):