Resolve which bounded per-file cache slot owns one geometry variant.
(visibleAgentNotes: VisibleAgentNote[])
| 110 | |
| 111 | /** Resolve which bounded per-file cache slot owns one geometry variant. */ |
| 112 | function sectionGeometryCacheSlot(visibleAgentNotes: VisibleAgentNote[]) { |
| 113 | return visibleAgentNotes.length > 0 ? "notes" : "base"; |
| 114 | } |
| 115 | |
| 116 | /** Read one cached geometry entry when the exact active variant is still retained. */ |
| 117 | function getCachedSectionGeometry( |
no outgoing calls
no test coverage detected