http-server-status/vendor/github.com/shirou/gopsutil/disk/disk_fallback.go
2021-09-20 11:28:00 +02:00

21 lines
562 B
Go

// +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
}