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

Function _is_file_node

graphify/markdown_resolution.py:105–108  ·  view source on GitHub ↗
(node: dict[str, Any])

Source from the content-addressed store, hash-verified

103
104
105def _is_file_node(node: dict[str, Any]) -> bool:
106 label = str(node.get("label", ""))
107 source_file = str(node.get("source_file", ""))
108 return bool(source_file) and label == os.path.basename(source_file)
109
110
111def _posix(path: str) -> str:

Callers 3

_is_code_span_mentionFunction · 0.90
_is_code_file_citationFunction · 0.90

Calls 1

getMethod · 0.45

Tested by

no test coverage detected