You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/internal/common
Bryce Kahle b0d976c49b
ensure host platform are files and have contents
In a containerized deployment, it is common to mount several files from /etc. Within the container, those files will be created regardless if they exist on the host or not. In those instances, the existing code would erroneously return empty platform information.
1 year ago
..
binary.go fix lint 2 years ago
common.go ensure host platform are files and have contents 1 year ago
common_darwin.go refactor: remove unnecessary exec.LookPath calls 3 years ago
common_freebsd.go refactor: remove unnecessary exec.LookPath calls 3 years ago
common_linux.go [host]: add EnableBootTimeCache function 1 year ago
common_netbsd.go cpu && host: fix compile time errors 2 years ago
common_openbsd.go refactor: remove unnecessary exec.LookPath calls 3 years ago
common_test.go apply code review 2 years ago
common_unix.go refactor: remove unnecessary exec.LookPath calls 3 years ago
common_windows.go fix lint 2 years ago
endian.go fix(net,linux): move IsLittleEndian to internal 3 years ago
sleep.go [common]: fix potential leak on Sleep. 2 years ago
sleep_test.go gofumpt 4 years ago
warnings.go code review 3 years ago