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

Function is_section_node

graphify/sections.py:106–109  ·  view source on GitHub ↗
(node: dict)

Source from the content-addressed store, hash-verified

104
105
106def is_section_node(node: dict) -> bool:
107 kind = node.get("node_kind")
108 suffix = Path(str(node.get("source_file") or "")).suffix.lower()
109 return kind in ("heading", "page") and suffix in _MARKDOWN_SUFFIXES
110
111
112def read_section(node: dict, root: Path,

Callers 2

read_sectionFunction · 0.85
resolve_section_queryFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected