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

Function normalize

packages/opencode/test/project/worktree.test.ts:21–23  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

19const wintest = process.platform !== "win32" ? it.instance : it.instance.skip
20
21function normalize(input: string) {
22 return input.replace(/\\/g, "/").toLowerCase()
23}
24
25const waitReady = Effect.fn("WorktreeTest.waitReady")(function* () {
26 const ready = yield* Deferred.make<{ name: string; branch?: string }>()

Callers 1

worktree.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected