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

Function cbm_normalize_path_sep

src/foundation/platform.c:193–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 15

main_build_identityFunction · 0.85
path_joinFunction · 0.85
expand_git_pathFunction · 0.85
resolve_git_common_dirFunction · 0.85
discover_implFunction · 0.85
cbm_same_fileFunction · 0.85
cbm_detect_self_pathFunction · 0.85
cbm_cmd_installFunction · 0.85
cbm_cmd_uninstallFunction · 0.85

Calls 1

cbm_canonicalize_driveFunction · 0.85

Tested by 3

cli_scope_fixture_startFunction · 0.68
tie_full_pathFunction · 0.68
app_owner_fixture_initFunction · 0.68