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