MCPcopy
hub / github.com/anomalyco/opencode / dir

Function dir

packages/app/src/utils/worktree.test.ts:5–5  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

3import { ServerScope } from "./server-scope"
4
5const dir = (name: string) => `/tmp/opencode-worktree-${name}-${crypto.randomUUID()}`
6
7describe("Worktree", () => {
8 const scope = ServerScope.local

Callers 8

worktree.test.tsFile · 0.70
DirectoryFunction · 0.50
SettingsGeneralFunction · 0.50
toggleAcceptFunction · 0.50
GeneralSectionFunction · 0.50
SettingsGeneralV2Function · 0.50
toggleAcceptFunction · 0.50
GeneralSectionFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected