| 67 | } |
| 68 | |
| 69 | static 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 | |
| 77 | int cbm_workspace_path_depth(const char *canonical_path) { |
| 78 | size_t prefix = ws_volume_prefix_len(canonical_path); |
no outgoing calls
no test coverage detected