(repository: Repository, effect: Effect.Effect<A, E, R>)
| 179 | const proc = yield* AppProcess.Service |
| 180 | const locks = KeyedMutex.makeUnsafe<string>() |
| 181 | const locked = <A, E, R>(repository: Repository, effect: Effect.Effect<A, E, R>) => |
| 182 | locks.withLock(repository.gitDirectory)(effect) |
| 183 | |
| 184 | const discover = Effect.fn("Git.repo.discover")(function* (input: AbsolutePath) { |
| 185 | const dotgit = yield* fs.up({ targets: [".git"], start: input }).pipe( |