(dirPath: T)
| 126 | ) |
| 127 | |
| 128 | const mkdirp = <T extends string>(dirPath: T): T.Effect<OT.HasTracer, MkdirError, void> => |
| 129 | OT.withSpan('mkdirp', { attributes: { dirPath } })( |
| 130 | T.tryCatchPromise( |
| 131 | () => fs.mkdir(dirPath, { recursive: true }), |
| 132 | (error) => new MkdirError({ dirPath, error }), |
| 133 | ), |
| 134 | ) |
| 135 | |
| 136 | function rm(path: string, params: { force: true; recursive?: boolean }): T.Effect<OT.HasTracer, RmError, void> |
| 137 | function rm( |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…