MCPcopy Create free account
hub / github.com/Graphify-Labs/graphify / _extract_fixture

Function _extract_fixture

tests/test_rust_use_self_module.py:23–39  ·  view source on GitHub ↗
(
    root: Path,
    files: dict[str, str],
    cargo_toml: str | None = None,
)

Source from the content-addressed store, hash-verified

21
22
23def _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
42def _build_graph(root: Path) -> dict:

Calls 2

extractFunction · 0.90
_write_fixtureFunction · 0.85

Tested by

no test coverage detected