MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_normalize_path_sep

Function cbm_normalize_path_sep

src/foundation/platform.c:191–201  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191char *cbm_normalize_path_sep(char *path) {
192 if (path) {
193 for (char *p = path; *p; p++) {
194 if (*p == '\\') {
195 *p = '/';
196 }
197 }
198 cbm_canonicalize_drive(path);
199 }
200 return path;
201}
202
203#else /* POSIX (macOS + Linux) */
204

Callers 15

main_build_identityFunction · 0.85
path_joinFunction · 0.85
expand_git_pathFunction · 0.85
resolve_git_common_dirFunction · 0.85
cbm_same_fileFunction · 0.85
cbm_detect_self_pathFunction · 0.85
cbm_cmd_installFunction · 0.85
handle_index_repositoryFunction · 0.85

Calls 1

cbm_canonicalize_driveFunction · 0.85

Tested by

no test coverage detected