MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / isConfigLeafNode

Function isConfigLeafNode

src/utils.ts:82–84  ·  view source on GitHub ↗
(node: { kind: string; language?: string })

Source from the content-addressed store, hash-verified

80 * needs it can read the file directly. (#383)
81 */
82export function isConfigLeafNode(node: { kind: string; language?: string }): boolean {
83 return node.kind === 'constant' && !!node.language && CONFIG_LEAF_LANGUAGES.has(node.language);
84}
85
86/**
87 * Whether `child` is `parent` or lies under it, compared exactly as given.

Callers 3

extractNodeCodeMethod · 0.90
handleExploreMethod · 0.90

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected