(index: number)
| 53 | } |
| 54 | |
| 55 | export function getKillRingItem(index: number): string { |
| 56 | if (killRing.length === 0) return '' |
| 57 | const normalizedIndex = |
| 58 | ((index % killRing.length) + killRing.length) % killRing.length |
| 59 | return killRing[normalizedIndex] ?? '' |
| 60 | } |
| 61 | |
| 62 | export function getKillRingSize(): number { |
| 63 | return killRing.length |
nothing calls this directly
no outgoing calls
no test coverage detected