Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SethGammon/Citadel
/ normalizePath
Function
normalizePath
core/verification/profiles.js:7–9 ·
view source on GitHub ↗
(value)
Source
from the content-addressed store, hash-verified
5
const
{ spawnSync } = require(
'child_process'
);
6
7
function
normalizePath(value) {
8
return
String(value ||
''
).replace(/\\/g,
'/'
);
9
}
10
11
function
unique(values) {
12
return
Array.from(
new
Set(values.filter(Boolean)));
Callers
2
walk
Function · 0.70
hasAny
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected