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