/usr/share/gocode/src/github.com/shirou/gopsutil/disk/disk_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 14 15 16 17 | // +build !darwin,!linux,!freebsd,!openbsd,!windows,!solaris
package disk
import "github.com/shirou/gopsutil/internal/common"
func IOCounters(names ...string) (map[string]IOCountersStat, error) {
return nil, common.ErrNotImplementedError
}
func Partitions(all bool) ([]PartitionStat, error) {
return []PartitionStat{}, common.ErrNotImplementedError
}
func Usage(path string) (*UsageStat, error) {
return nil, common.ErrNotImplementedError
}
|