(root: Path)
| 40 | |
| 41 | |
| 42 | def _build_graph(root: Path) -> dict: |
| 43 | from graphify.watch import _rebuild_code |
| 44 | |
| 45 | assert _rebuild_code( |
| 46 | root, changed_paths=None, no_cluster=True, acquire_lock=False |
| 47 | ) is True |
| 48 | return json.loads( |
| 49 | (root / "graphify-out" / "graph.json").read_text(encoding="utf-8") |
| 50 | ) |
| 51 | |
| 52 | |
| 53 | def _node_id(result: dict, source_suffix: str) -> str: |
no test coverage detected