(target: Target, existed: boolean)
| 89 | }) |
| 90 | |
| 91 | const removeResult = (target: Target, existed: boolean): RemoveResult => ({ |
| 92 | operation: "remove", |
| 93 | target: target.canonical, |
| 94 | resource: target.resource, |
| 95 | existed, |
| 96 | }) |
| 97 | |
| 98 | const write = Effect.fn("FileMutation.write")((input: WriteInput) => |
| 99 | withTargetLock(input.target)( |