MCPcopy Create free account
hub / github.com/arctic-cli/interface / sanitizePath

Function sanitizePath

packages/arctic/test/fixture/fixture.ts:7–9  ·  view source on GitHub ↗
(p: string)

Source from the content-addressed store, hash-verified

5
6// Strip null bytes from paths (defensive fix for CI environment issues)
7function sanitizePath(p: string): string {
8 return p.replace(/\0/g, "")
9}
10
11type TmpDirOptions<T> = {
12 git?: boolean

Callers 1

tmpdirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected