(root: Path)
| 161 | |
| 162 | |
| 163 | def _build(root: Path) -> dict: |
| 164 | result = _run_graphify( |
| 165 | ["update", str(root), "--force", "--no-cluster"], cwd=root |
| 166 | ) |
| 167 | assert result.returncode == 0, result.stderr[-2000:] |
| 168 | return json.loads( |
| 169 | (root / "graphify-out" / "graph.json").read_text(encoding="utf-8") |
| 170 | ) |
| 171 | |
| 172 | |
| 173 | def _file_node_id(graph: dict, source_file: str) -> str: |
no test coverage detected