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

Function _extract

tests/test_rust_impl_method_collisions.py:31–34  ·  view source on GitHub ↗
(tmp_path: Path, source: str, name: str = "lib.rs")

Source from the content-addressed store, hash-verified

29
30
31def _extract(tmp_path: Path, source: str, name: str = "lib.rs") -> dict:
32 path = tmp_path / name
33 path.write_text(source, encoding="utf-8")
34 return extract([path], cache_root=tmp_path, root=tmp_path, parallel=False)
35
36
37def _sourced(result: dict, label: str) -> list[dict]:

Calls 1

extractFunction · 0.90

Tested by

no test coverage detected