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

Function _label_text

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

Source from the content-addressed store, hash-verified

15769 return source[n.start_byte:n.end_byte].decode("utf-8", errors="replace")
15770
15771 def _label_text(n) -> str:
15772 return _read(n).strip().strip('"')
15773
15774 def _add_node(address: str, label: str, line: int) -> str:
15775 nid = _make_id(scope, address)

Callers 1

_block_partsFunction · 0.85

Calls 1

_readFunction · 0.85

Tested by

no test coverage detected