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

Function _extract

tests/test_python_member_collisions.py:19–29  ·  view source on GitHub ↗
(tmp_path: Path, files: dict[str, str])

Source from the content-addressed store, hash-verified

17
18
19def _extract(tmp_path: Path, files: dict[str, str]) -> dict:
20 for name, src in files.items():
21 (tmp_path / name).write_text(src, encoding="utf-8")
22 with warnings.catch_warnings():
23 warnings.simplefilter("ignore")
24 return extract(
25 [tmp_path / n for n in files],
26 root=tmp_path,
27 cache_root=tmp_path,
28 parallel=False,
29 )
30
31
32def _calls(r: dict) -> set[tuple[str, str]]:

Calls 2

extractFunction · 0.90
itemsMethod · 0.45

Tested by

no test coverage detected