(root: string, rel: string, body: string)
| 68 | } |
| 69 | |
| 70 | function write(root: string, rel: string, body: string): void { |
| 71 | const full = path.join(root, rel); |
| 72 | fs.mkdirSync(path.dirname(full), { recursive: true }); |
| 73 | fs.writeFileSync(full, body); |
| 74 | } |
| 75 | |
| 76 | /** Rows as `caller -> callee`, which is how the rail reads. */ |
| 77 | function pairs(payload: any): string[] { |
no test coverage detected