(self, output: str | Path)
| 1011 | return self._apply_stack_tree_shares(self._finalize_stack_tree(tree, metric)) |
| 1012 | |
| 1013 | def export_json(self, output: str | Path) -> Path: |
| 1014 | output_path = Path(output) |
| 1015 | data = self._compatibility_json_data() |
| 1016 | output_path.write_text(json.dumps(data, ensure_ascii=False, indent=2), encoding="utf-8") |
| 1017 | return output_path |
| 1018 | |
| 1019 | def export_html_snapshot( |
| 1020 | self, |
no test coverage detected