def add_path(self, path, dev, ino):
# Assume path is new.
def add_path(self, path, dev, ino):
# Assume path is new.
self._path_node[path] = node
link_paths = self._node_paths.get(node)
if link_paths and path not in link_paths:
self._path_node[path] = node
link_paths = self._node_paths.get(node)
if link_paths and path not in link_paths:
del self._path_node[path]
def node_paths(self, dev, ino):
del self._path_node[path]
def node_paths(self, dev, ino):