open-vault/vendor/github.com/shirou/gopsutil/disk/disk_fallback.go

22 lines
562 B
Go
Raw Normal View History

2019-10-04 13:14:37 +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
}