/usr/share/gocode/src/github.com/shirou/gopsutil/mem/mem_fallback.go is in golang-github-shirou-gopsutil-dev 2.17.08-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 | // +build !darwin,!linux,!freebsd,!openbsd,!solaris,!windows
package mem
import "github.com/shirou/gopsutil/internal/common"
func VirtualMemory() (*VirtualMemoryStat, error) {
return nil, common.ErrNotImplementedError
}
func SwapMemory() (*SwapMemoryStat, error) {
return nil, common.ErrNotImplementedError
}
|