(path: string)
| 179 | } |
| 180 | |
| 181 | function canWriteRecursive(path: string): boolean { |
| 182 | while (true) { |
| 183 | const dir = dirname(path); |
| 184 | if (canWrite(dir)) return true; |
| 185 | if (dir === path) break; |
| 186 | path = dir; |
| 187 | } |
| 188 | return false; |
| 189 | } |
| 190 | |
| 191 | async function recursiveCopyTemplate( |
| 192 | inputRoot: string, |
no test coverage detected