MCPcopy
hub / github.com/DedSecInside/TorBot / save

Method save

torbot/modules/linktree.py:83–88  ·  view source on GitHub ↗

Saves the tree to the current working directory under the given file name.

(self)

Source from the content-addressed store, hash-verified

81 return os.path.join(project_root_directory, f'{root_node.tag} - Depth {self._depth}')
82
83 def save(self) -> None:
84 """
85 Saves the tree to the current working directory under the given file name.
86 """
87 file_name = self._get_tree_file_name()
88 self.save2file(f'{file_name}.txt')
89
90 def saveJSON(self) -> None:
91 """

Callers 1

runFunction · 0.95

Calls 1

_get_tree_file_nameMethod · 0.95

Tested by

no test coverage detected