Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/compiler-explorer/compiler-explorer
/ normalizePath
Function
normalizePath
lib/assert.ts:32–34 ·
view source on GitHub ↗
(filePath: string)
Source
from the content-addressed store, hash-verified
30
31
// Helper for cross-platform path handling in tests
32
export
function
normalizePath(filePath: string): string {
33
return
filePath.split(path.sep).join(
'/'
);
34
}
35
36
let
ce_base_directory =
''
;
37
Callers
1
check_path
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected