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

Function _read

graphify/extract.py:7591–7592  ·  view source on GitHub ↗
(n)

Source from the content-addressed store, hash-verified

7589 table_nids: dict[str, str] = {} # name → nid for reference resolution
7590
7591 def _read(n) -> str:
7592 return source[n.start_byte:n.end_byte].decode("utf-8", errors="replace")
7593
7594 def _obj_name(n) -> str | None:
7595 for c in n.children:

Callers 11

_obj_nameFunction · 0.85
walkFunction · 0.85
_walk_from_refsFunction · 0.85
_get_nameFunction · 0.85
walk_callsFunction · 0.85
_proc_nameFunction · 0.85
_label_textFunction · 0.85
_block_partsFunction · 0.85
_ref_addressFunction · 0.85
_collect_refsFunction · 0.85
extract_terraformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected