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

Function _extract

tests/test_cpp_member_declaration_identity.py:17–25  ·  view source on GitHub ↗
(tmp_path, files, *, reverse=False)

Source from the content-addressed store, hash-verified

15
16
17def _extract(tmp_path, files, *, reverse=False):
18 paths = []
19 for name, source in files.items():
20 path = tmp_path / name
21 path.parent.mkdir(parents=True, exist_ok=True)
22 path.write_text(source, encoding="utf-8")
23 paths.append(path)
24 return extract(paths[::-1] if reverse else paths, root=tmp_path,
25 cache_root=tmp_path, parallel=False)
26
27
28def _members(result):

Calls 2

extractFunction · 0.90
itemsMethod · 0.45

Tested by

no test coverage detected