(root: string, rel: string, body: string)
| 76 | } |
| 77 | |
| 78 | function write(root: string, rel: string, body: string): void { |
| 79 | const full = path.join(root, rel); |
| 80 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 81 | fs.writeFileSync(full, body); |
| 82 | } |
| 83 | |
| 84 | /** `name` at each hop, so an assertion reads like the strip does. */ |
| 85 | function names(flow: any): string[] { |