mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

Moves builder/shell_parser and into its own subpackage at builder/shell since it has no dependencies other than the standard library. This will make it much easier to vendor for downstream libraries, without pulling all the dependencies of builder/. Fixes #36154 Signed-off-by: Matt Rickard <mrick@google.com>
9 lines
221 B
Go
9 lines
221 B
Go
// +build !windows
|
|
|
|
package shell
|
|
|
|
// EqualEnvKeys compare two strings and returns true if they are equal. On
|
|
// Windows this comparison is case insensitive.
|
|
func EqualEnvKeys(from, to string) bool {
|
|
return from == to
|
|
}
|