github.com/jfrazelle/docker@v1.1.2-0.20210712172922-bf78e25fe508/volume/service/store_windows.go (about) 1 package service // import "github.com/docker/docker/volume/service" 2 3 import "strings" 4 5 // normalizeVolumeName is a platform specific function to normalize the name 6 // of a volume. On Windows, as NTFS is case insensitive, under 7 // c:\ProgramData\Docker\Volumes\, the folders John and john would be synonymous. 8 // Hence we can't allow the volume "John" and "john" to be created as separate 9 // volumes. 10 func normalizeVolumeName(name string) string { 11 return strings.ToLower(name) 12 }