(path: string)
| 170 | } |
| 171 | |
| 172 | function canWrite(path: string): boolean { |
| 173 | try { |
| 174 | accessSync(path, constants.W_OK); |
| 175 | return true; |
| 176 | } catch { |
| 177 | return false; |
| 178 | } |
| 179 | } |
| 180 | |
| 181 | function canWriteRecursive(path: string): boolean { |
| 182 | while (true) { |
no outgoing calls
no test coverage detected