code: def deleted(self, src, path):
          
          if self.parents[path] is not None:
              for parent in self.parents[path]:
                  self.children[parent].remove(path)
                  if not self.children[parent]:
                      del self.children[parent]
          del self.parents[path]
docs: Update the reference tree when a handled file is deleted.