(effect: Effect.Effect<A, E, R>, operation: string, target: string)
| 240 | } |
| 241 | |
| 242 | function cacheOperation<A, E, R>(effect: Effect.Effect<A, E, R>, operation: string, target: string) { |
| 243 | return effect.pipe( |
| 244 | Effect.mapError((error) => new CacheOperationError({ operation, path: target, message: errorMessage(error) })), |
| 245 | ) |
| 246 | } |
| 247 | |
| 248 | const resetTarget = Effect.fnUntraced(function* ( |
| 249 | git: Git.Interface, |
no test coverage detected