()
| 17 | } from '../analytics/index.js' |
| 18 | |
| 19 | function getCacheBreakDiffPath(): string { |
| 20 | const chars = 'abcdefghijklmnopqrstuvwxyz0123456789' |
| 21 | let suffix = '' |
| 22 | for (let i = 0; i < 4; i++) { |
| 23 | suffix += chars[Math.floor(Math.random() * chars.length)] |
| 24 | } |
| 25 | return join(getNcodeTempDir(), `cache-break-${suffix}.diff`) |
| 26 | } |
| 27 | |
| 28 | type PreviousState = { |
| 29 | systemHash: number |
no outgoing calls
no test coverage detected