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