94
92
# TODO: split InventoryEntry into subclasses for files,
97
__slots__ = ['text_sha1', 'text_size', 'file_id', 'name', 'kind',
98
'text_id', 'parent_id', 'children', ]
100
98
def __init__(self, file_id, name, kind, parent_id, text_id=None):
101
99
"""Create an InventoryEntry