moby--moby/pkg/parsers/operatingsystem
Sebastiaan van Stijn 9bf40d7edd
pkg/system: move IsWindowsClient to pkg/parsers/operatingsystem
This function was only used in a single place, and pkg/parsers/operatingsystem
already copied the `verNTWorkstation` const, so we might as well move this function
there as well to "unclutter" pkg/system.

The function had no external users, so not adding an alias / stub.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2022-03-17 10:26:50 +01:00
..
operatingsystem_linux.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
operatingsystem_linux_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
operatingsystem_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
operatingsystem_windows.go pkg/system: move IsWindowsClient to pkg/parsers/operatingsystem 2022-03-17 10:26:50 +01:00
windows_os_string.go pkg/parsers: support Windows 11; drop ProductName 2022-03-04 16:08:34 -05:00
windows_os_string_test.go pkg/parsers: support Windows 11; drop ProductName 2022-03-04 16:08:34 -05:00