563
567
class InventoryFile(InventoryEntry):
564
568
"""A file in an inventory."""
570
__slots__ = ['text_sha1', 'text_size', 'file_id', 'name', 'kind',
571
'text_id', 'parent_id', 'children', 'executable',
566
574
def _check(self, checker, tree_revision_id, tree):
567
575
"""See InventoryEntry._check"""
568
576
t = (self.file_id, self.revision)