MCPcopy
hub / github.com/colbymchenry/codegraph / isConfigLeafNode

Function isConfigLeafNode

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

Source from the content-addressed store, hash-verified

62 * needs it can read the file directly. (#383)
63 */
64export function isConfigLeafNode(node: { kind: string; language?: string }): boolean {
65 return node.kind === 'constant' && !!node.language && CONFIG_LEAF_LANGUAGES.has(node.language);
66}
67
68/**
69 * Whether `child` is `parent` itself or sits underneath it. Case-insensitive on

Callers 2

extractNodeCodeMethod · 0.90
handleExploreMethod · 0.90

Calls 1

hasMethod · 0.80

Tested by

no test coverage detected