(path string)
| 1091 | } |
| 1092 | |
| 1093 | func SplitVolumePath(path string) (volume string, rest string, ok bool) { |
| 1094 | if len(path) >= 2 && IsVolumeCharacter(path[0]) && path[1] == ':' { |
| 1095 | return strings.ToLower(path[0:2]), path[2:], true |
| 1096 | } |
| 1097 | return "", path, false |
| 1098 | } |
| 1099 | |
| 1100 | // GetCommonParents returns the smallest set of directories that are parents of all paths with |
| 1101 | // at least `minComponents` directory components. Any path that has fewer than `minComponents` directory components |
no test coverage detected