MCPcopy 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
32export function normalizePath(filePath: string): string {
33 return filePath.split(path.sep).join('/');
34}
35
36let ce_base_directory = '';
37

Callers 1

check_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected