Function
cacheWith
(
version: string | null,
manifest: UpdateCache['manifest'] = null,
)
Source from the content-addressed store, hash-verified
| 5 | import type { InstallSource, UpdateCache } from '#/cli/update/types'; |
| 6 | |
| 7 | function cacheWith( |
| 8 | version: string | null, |
| 9 | manifest: UpdateCache['manifest'] = null, |
| 10 | ): UpdateCache { |
| 11 | return { |
| 12 | source: 'cdn', |
| 13 | checkedAt: '2026-04-23T08:00:00.000Z', |
| 14 | latest: version, |
| 15 | manifest, |
| 16 | }; |
| 17 | } |
| 18 | |
| 19 | function captureOutput(): { |
| 20 | stdout: string[]; |
Tested by
no test coverage detected