Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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)
7
function
sanitizePath(p: string): string {
8
return
p.replace(/\0/g,
""
)
9
}
10
11
type
TmpDirOptions<T> = {
12
git?: boolean
Callers
1
tmpdir
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected