58
58
return self.get_tree_path_id(self._tree.id2path(inventory_id))
60
67
def get_tree_path_id(self, path):
61
68
"""Determine (and maybe set) the transaction ID for a tree path."""
63
70
if path not in self._tree_path_ids:
64
71
self._tree_path_ids[path] = self._assign_id()
65
72
self._tree_id_paths[self._tree_path_ids[path]] = path