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)
| 515 | * single gate shared by insertNode, updateNode, and the rebuild page query |
| 516 | * (getDistinctNodeNames), so the write paths can't drift apart. */ |
| 517 | private isSegmentableKind(kind: string): boolean { |
| 518 | return kind !== 'file' && kind !== 'import'; |
| 519 | } |
| 520 | |
| 521 | /** Write `name`'s segments into name_segment_vocab (idempotent). */ |
| 522 | private insertNameSegments(name: string): void { |
no outgoing calls
no test coverage detected