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

Method _get_tree_file_name

torbot/modules/linktree.py:75–81  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

73 self._build_tree(url=child, depth=depth)
74
75 def _get_tree_file_name(self) -> str:
76 root_id = self.root
77 root_node = self.get_node(root_id)
78 if root_node is None:
79 raise Exception('no root node can be found.')
80
81 return os.path.join(project_root_directory, f'{root_node.tag} - Depth {self._depth}')
82
83 def save(self) -> None:
84 """

Callers 2

saveMethod · 0.95
saveJSONMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected