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

Function ws_is_windows_style

src/foundation/workspace.c:69–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69static bool ws_is_windows_style(const char *path) {
70 if (!path || !path[0]) {
71 return false;
72 }
73 return path[1] == ':' &&
74 ((path[0] >= 'A' && path[0] <= 'Z') || (path[0] >= 'a' && path[0] <= 'z'));
75}
76
77int cbm_workspace_path_depth(const char *canonical_path) {
78 size_t prefix = ws_volume_prefix_len(canonical_path);

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected