631
629
inserted, other than through the Inventory API.
635
632
def __contains__(self, file_id):
636
633
"""True if this entry contains a file with given id.
639
636
>>> inv.add(InventoryFile('123', 'foo.c', ROOT_ID))
640
637
InventoryFile('123', 'foo.c', parent_id='TREE_ROOT', sha1=None, len=None, revision=None)
646
643
Note that this method along with __iter__ are not encouraged for use as