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

Function ws_is_windows_style

src/foundation/workspace.c:68–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected