MCPcopy Index your code
hub / github.com/anomalyco/opencode / sessionPath

Function sessionPath

packages/opencode/src/session/session.ts:171–173  ·  view source on GitHub ↗
(worktree: string, cwd: string)

Source from the content-addressed store, hash-verified

169}
170
171function sessionPath(worktree: string, cwd: string) {
172 return path.relative(path.resolve(worktree), cwd).replaceAll("\\", "/")
173}
174
175const Summary = Schema.Struct({
176 additions: Schema.Finite,

Callers 1

session.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected