Part of bzrlib.identitymap View In Hierarchy
An IdentityMap maps from keys to single instances of objects in memory. We have explicit calls on the map for the root of each inheritance tree that is store in the map. Look for find_CLASS and add_CLASS methods.
|Method||add_weave||Add weave to the map with a given id.|
|Method||find_weave||Return the weave for 'id', or None if it is not present.|
|Method||remove_object||Remove object from map.|
|Method||_weave_key||Return the key for a weaves id.|