Saves the tree to the current working directory under the given file name.
(self)
| 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 | """ |
no test coverage detected