()
| 43 | }); |
| 44 | |
| 45 | function tempRoot(): string { |
| 46 | const root = fs.mkdtempSync(path.join(os.tmpdir(), 'cg-sync-name-matched-')); |
| 47 | roots.push(root); |
| 48 | return root; |
| 49 | } |
| 50 | |
| 51 | function write(root: string, files: Files): void { |
| 52 | for (const [file, text] of Object.entries(files)) { |