shirou_gopsutil/host
Ville Skyttä f7e1f36418 refactor: remove unnecessary exec.LookPath calls
Executing the command does the lookup if needed and returns the same
error when not found, no need to do it separately.
2022-03-04 18:56:33 +02:00
..
freebsd_headers [freebsd][host]: fix Users() return start secs. 2019-07-06 23:45:22 +09:00
host.go enable errorlint linter 2021-12-04 22:29:38 +01:00
host_bsd.go gofumpt 2021-12-22 21:54:41 +00:00
host_darwin.go refactor: remove unnecessary exec.LookPath calls 2022-03-04 18:56:33 +02:00
host_darwin_386.go gofumpt 2021-12-22 21:54:41 +00:00
host_darwin_amd64.go gofumpt 2021-12-22 21:54:41 +00:00
host_darwin_arm64.go gofumpt 2021-12-22 21:54:41 +00:00
host_darwin_cgo.go gofumpt 2021-12-22 21:54:41 +00:00
host_darwin_nocgo.go gofumpt 2021-12-22 21:54:41 +00:00
host_fallback.go gofumpt 2021-12-22 21:54:41 +00:00
host_freebsd.go gofumpt 2021-12-22 21:54:41 +00:00
host_freebsd_386.go [freebsd]host: change freebsd struct for 386 and arm. 2019-07-06 23:49:57 +09:00
host_freebsd_amd64.go [freebsd][host]: fix Users() return start secs. 2019-07-06 23:45:22 +09:00
host_freebsd_arm.go [freebsd]host: change freebsd struct for 386 and arm. 2019-07-06 23:49:57 +09:00
host_freebsd_arm64.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux.go refactor: remove unnecessary exec.LookPath calls 2022-03-04 18:56:33 +02:00
host_linux_386.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_amd64.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_arm.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_arm64.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_mips.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_mips64.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_mips64le.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_mipsle.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_ppc64le.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_riscv64.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_s390x.go gofumpt 2021-12-22 21:54:41 +00:00
host_linux_test.go gofumpt 2021-12-22 21:54:41 +00:00
host_openbsd.go gofumpt 2021-12-22 21:54:41 +00:00
host_openbsd_386.go gofumpt 2021-12-22 21:54:41 +00:00
host_openbsd_amd64.go gofumpt 2021-12-22 21:54:41 +00:00
host_openbsd_arm64.go gofumpt 2021-12-22 21:54:41 +00:00
host_posix.go gofumpt 2021-12-22 21:54:41 +00:00
host_solaris.go refactor: remove unnecessary exec.LookPath calls 2022-03-04 18:56:33 +02:00
host_test.go enable errorlint linter 2021-12-04 22:29:38 +01:00
host_windows.go gofumpt 2021-12-22 21:54:41 +00:00
smc_darwin.c [mac] fix deprecated code in macOS Monterey 2021-12-04 03:37:03 +00:00
smc_darwin.h [mac] fix deprecated code in macOS Monterey 2021-12-04 03:37:03 +00:00
types.go enable revive linter 2021-12-22 23:49:50 +01:00
types_darwin.go gofumpt 2021-12-22 21:54:41 +00:00
types_freebsd.go gofumpt 2021-12-22 21:54:41 +00:00
types_linux.go gofumpt 2021-12-22 21:54:41 +00:00
types_openbsd.go gofumpt 2021-12-22 21:54:41 +00:00