(
root: Path,
files: dict[str, str],
cargo_toml: str | None = None,
)
| 21 | |
| 22 | |
| 23 | def _extract_fixture( |
| 24 | root: Path, |
| 25 | files: dict[str, str], |
| 26 | cargo_toml: str | None = None, |
| 27 | ) -> dict: |
| 28 | _write_fixture(root, files, cargo_toml) |
| 29 | paths = sorted( |
| 30 | root / relative |
| 31 | for relative in files |
| 32 | if relative.endswith(".rs") |
| 33 | ) |
| 34 | return extract( |
| 35 | paths, |
| 36 | root=root, |
| 37 | cache_root=root / "graphify-out", |
| 38 | parallel=False, |
| 39 | ) |
| 40 | |
| 41 | |
| 42 | def _build_graph(root: Path) -> dict: |
no test coverage detected