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

Method isSegmentableKind

src/db/queries.ts:408–410  ·  view source on GitHub ↗

Which node kinds contribute their name to the segment vocabulary — the * single gate shared by insertNode, updateNode, and the rebuild page query * (getDistinctNodeNames), so the write paths can't drift apart.

(kind: string)

Source from the content-addressed store, hash-verified

406 * single gate shared by insertNode, updateNode, and the rebuild page query
407 * (getDistinctNodeNames), so the write paths can't drift apart. */
408 private isSegmentableKind(kind: string): boolean {
409 return kind !== 'file' && kind !== 'import';
410 }
411
412 /** Write `name`'s segments into name_segment_vocab (idempotent). */
413 private insertNameSegments(name: string): void {

Callers 3

insertNodeMethod · 0.95
insertNodesMethod · 0.95
updateNodeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected