2018-10-19 18:33:23 +00:00
|
|
|
// +build !darwin,!linux,!freebsd,!openbsd,!windows,!solaris
|
2018-10-17 20:20:35 +00:00
|
|
|
|
|
|
|
package disk
|
|
|
|
|
2018-10-19 18:33:23 +00:00
|
|
|
import (
|
|
|
|
"context"
|
2018-10-17 20:20:35 +00:00
|
|
|
|
2018-10-19 18:33:23 +00:00
|
|
|
"github.com/shirou/gopsutil/internal/common"
|
|
|
|
)
|
|
|
|
|
|
|
|
func IOCounters(names ...string) (map[string]IOCountersStat, error) {
|
|
|
|
return IOCountersWithContext(context.Background(), names...)
|
|
|
|
}
|
|
|
|
|
|
|
|
func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOCountersStat, error) {
|
2018-10-17 20:20:35 +00:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func Partitions(all bool) ([]PartitionStat, error) {
|
2018-10-19 18:33:23 +00:00
|
|
|
return PartitionsWithContext(context.Background(), all)
|
|
|
|
}
|
|
|
|
|
|
|
|
func PartitionsWithContext(ctx context.Context, all bool) ([]PartitionStat, error) {
|
2018-10-17 20:20:35 +00:00
|
|
|
return []PartitionStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func Usage(path string) (*UsageStat, error) {
|
2018-10-19 18:33:23 +00:00
|
|
|
return UsageWithContext(context.Background(), path)
|
|
|
|
}
|
|
|
|
|
|
|
|
func UsageWithContext(ctx context.Context, path string) (*UsageStat, error) {
|
2018-10-17 20:20:35 +00:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|