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

Function _per_file

tests/test_pascal_singleton_resolution.py:175–189  ·  view source on GitHub ↗

Per-file results still carry the ABSOLUTE path the extractor was handed.

()

Source from the content-addressed store, hash-verified

173
174
175def _per_file() -> list[dict]:
176 """Per-file results still carry the ABSOLUTE path the extractor was handed."""
177 return [
178 {"nodes": [{"id": "datamodules_shared_pas", "label": "Shared.pas",
179 "source_file": r"C:\proj\DataModules\Shared.pas"}],
180 "edges": [], "raw_calls": [],
181 "global_vars": {"shareddm": "tshareddm"}},
182 {"nodes": [{"id": "projects_app_appform_pas", "label": "AppForm.pas",
183 "source_file": r"C:\proj\Projects\App\AppForm.pas"}],
184 "edges": [],
185 "raw_calls": [{"source_file": r"C:\proj\Projects\App\AppForm.pas",
186 "source_location": "L15", "caller_nid": "appform_go",
187 "callee": "loadperiod", "qualifier": "shareddm"}],
188 "global_vars": {}},
189 ]
190
191
192def test_uses_resolves_when_the_unit_stub_has_no_node_yet():

Calls

no outgoing calls

Tested by

no test coverage detected