Which node kinds contribute their name to the segment vocabulary — the * single gate shared by insertNode, updateNode, the rebuild page query * (getDistinctNodeNames) and the prune (pruneNameSegmentVocab), so the * write paths can't drift apart.
(kind: string)
| 795 | * (getDistinctNodeNames) and the prune (pruneNameSegmentVocab), so the |
| 796 | * write paths can't drift apart. */ |
| 797 | private isSegmentableKind(kind: string): boolean { |
| 798 | return kind !== 'file' && kind !== 'import'; |
| 799 | } |
| 800 | |
| 801 | /** Write `name`'s segments into name_segment_vocab (idempotent). */ |
| 802 | private insertNameSegments(name: string): void { |
no outgoing calls
no test coverage detected