1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/system
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
..
args_windows.go Windows: (WCOW) Generate OCI spec that remote runtime can escape 2019-03-12 18:41:55 -07:00
chtimes.go
chtimes_linux_test.go Use syscall.Timespec.Unix 2022-01-03 16:51:02 +01:00
chtimes_nowindows.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
chtimes_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
chtimes_windows.go pkg/system: normalize comment formatting 2019-11-27 15:38:17 +01:00
chtimes_windows_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
errors.go
exitcode.go
filesys_unix.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
filesys_windows.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
image_os.go system: remove LCOWSupported() utility 2021-07-27 13:36:19 +02:00
init.go
init_windows.go Windows CI: Add support for testing with containerd 2021-08-17 07:09:40 -07:00
lstat_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
lstat_unix_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
lstat_windows.go
meminfo.go
meminfo_linux.go pkg/system: remove github.com/docker/go-units dependency 2022-03-03 00:22:32 +01:00
meminfo_unix_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
meminfo_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
meminfo_windows.go
mknod.go Port pkg/system/mknod.go to FreeBSD 2021-09-22 09:47:35 +03:00
mknod_freebsd.go Port pkg/system/mknod.go to FreeBSD 2021-09-22 09:47:35 +03:00
mknod_unix.go system: unbreak build for darwin 2021-12-15 22:15:07 -08:00
mknod_windows.go
path.go Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
path_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
path_windows.go Remove LCOW code (step 1) 2021-06-03 21:16:21 +02:00
path_windows_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
process_unix.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
process_windows.go pkg/system: fix minor linting issues 2020-03-09 16:40:05 +01:00
stat_bsd.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
stat_darwin.go
stat_linux.go reformat "nolint" comments 2021-06-10 13:03:42 +02:00
stat_openbsd.go
stat_solaris.go Add solaris support to lstat 2020-08-12 11:40:58 +02:00
stat_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
stat_unix_test.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
stat_windows.go
umask.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
umask_windows.go
utimes_unix.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
utimes_unix_test.go refactor: move from io/ioutil to io and os package 2021-08-27 14:56:57 +08:00
utimes_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00
xattrs_linux.go pkg/system.getxattr: handle changed size case 2020-02-26 07:56:12 -08:00
xattrs_unsupported.go Update to Go 1.17.0, and gofmt with Go 1.17 2021-08-24 23:33:27 +02:00