MCPcopy Create free account
hub / github.com/SethGammon/Citadel / normalizePath

Function normalizePath

core/map/index.js:40–42  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

38const VERIFICATION_SCRIPT_PATTERN = /(test|lint|typecheck|verify|check|doctor|gate|bench)/i;
39
40function normalizePath(value) {
41 return String(value || '').replace(/\\/g, '/');
42}
43
44function defaultOutputPath(rootDir) {
45 return path.join(rootDir, DEFAULT_OUTPUT_RELATIVE);

Callers 4

walkFilesFunction · 0.70
resolveImportPathFunction · 0.70
extractRoutesFromFileFunction · 0.70
generateMapIndexFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected