MCPcopy Create free account
hub / github.com/Effect-TS/effect / absolute

Method absolute

packages/tools/api-diff/src/ApiDiff.ts:40–41  ·  view source on GitHub ↗
(repoRoot: string, location: string)

Source from the content-addressed store, hash-verified

38 const worktrees = yield* Worktrees
39
40 const absolute = (repoRoot: string, location: string): string =>
41 path.isAbsolute(location) ? location : path.resolve(repoRoot, location)
42
43 const findRepoRoot = Effect.fnUntraced(function*() {
44 let current = path.resolve()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected