(files: readonly string[])
| 127 | }); |
| 128 | |
| 129 | function options(files: readonly string[]) { |
| 130 | return { |
| 131 | files, |
| 132 | sourceRoot, |
| 133 | outputRoot, |
| 134 | sourceRepository: 'https://example.test/repository.git', |
| 135 | sourceSha: 'abc123', |
| 136 | mode: 'cold' as const, |
| 137 | }; |
| 138 | } |
| 139 | |
| 140 | async function writeSource(localPath: string): Promise<void> { |
| 141 | const path = join(sourceRoot, localPath); |