equal_env_unix.go 283 B

123456789
  1. // +build !windows
  2. package shell // import "github.com/docker/docker/builder/dockerfile/shell"
  3. // EqualEnvKeys compare two strings and returns true if they are equal. On
  4. // Windows this comparison is case insensitive.
  5. func EqualEnvKeys(from, to string) bool {
  6. return from == to
  7. }