blob: 9e91a5f027c60938ec429286d71e0094af12f99a [file] [log] [blame]
package store
import "strings"
// normalizeVolumeName is a platform specific function to normalize the name
// of a volume. On Windows, as NTFS is case insensitive, under
// c:\ProgramData\Docker\Volumes\, the folders John and john would be synonymous.
// Hence we can't allow the volume "John" and "john" to be created as separate
// volumes.
func normalizeVolumeName(name string) string {
return strings.ToLower(name)
}