MCPcopy Create free account
hub / github.com/Gan-Xing/CodexBridge / normalizeCommandPathForHost

Function normalizeCommandPathForHost

src/providers/codex/config.ts:727–732  ·  view source on GitHub ↗
(command: string, platform: NodeJS.Platform)

Source from the content-addressed store, hash-verified

725}
726
727function normalizeCommandPathForHost(command: string, platform: NodeJS.Platform): string {
728 if (platform !== 'win32' || path.sep !== '/') {
729 return command;
730 }
731 return command.replace(/\\/gu, '/');
732}
733
734function buildExplicitCandidates(
735 filePath: string,

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected