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