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

Function _obj_name

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

Source from the content-addressed store, hash-verified

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:
7596 if c.type == "object_reference":
7597 return _read(c)
7598 return None
7599
7600 def _add_node(nid: str, label: str, line: int) -> None:
7601 if nid not in seen_ids:

Callers 1

walkFunction · 0.85

Calls 1

_readFunction · 0.85

Tested by

no test coverage detected