http-server-status/vendor/github.com/shirou/gopsutil/disk/disk_fallback.go

22 lines
562 B
Go
Raw Normal View History

2021-09-20 09:28:00 +00:00
// +build !darwin,!linux,!freebsd,!openbsd,!windows,!solaris
package disk
import (
"context"
"github.com/shirou/gopsutil/internal/common"
)
func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOCountersStat, error) {
return nil, common.ErrNotImplementedError
}
func PartitionsWithContext(ctx context.Context, all bool) ([]PartitionStat, error) {
return []PartitionStat{}, common.ErrNotImplementedError
}
func UsageWithContext(ctx context.Context, path string) (*UsageStat, error) {
return nil, common.ErrNotImplementedError
}