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

Function normalizeDir

packages/app/src/context/file/path.ts:143–143  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

141 }
142
143 const normalizeDir = (input: string) => normalize(input).replace(/\/+$/, "")
144
145 return {
146 normalize,

Callers

nothing calls this directly

Calls 1

normalizeFunction · 0.70

Tested by

no test coverage detected