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
|
|
|
|
2020-11-07 01:48:38 +00:00
|
|
|
"github.com/shirou/gopsutil/v3/internal/common"
|
2018-10-19 18:33:23 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOCountersStat, error) {
|
2018-10-17 20:20:35 +00:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2018-10-19 18:33:23 +00:00
|
|
|
func PartitionsWithContext(ctx context.Context, all bool) ([]PartitionStat, error) {
|
2018-10-17 20:20:35 +00:00
|
|
|
return []PartitionStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2018-10-19 18:33:23 +00:00
|
|
|
func UsageWithContext(ctx context.Context, path string) (*UsageStat, error) {
|
2018-10-17 20:20:35 +00:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|
2020-11-07 01:48:38 +00:00
|
|
|
|
|
|
|
func SerialNumberWithContext(ctx context.Context, name string) (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
|
|
|
func LabelWithContext(ctx context.Context, name string) (string, error) {
|
|
|
|
return "", common.ErrNotImplementedError
|
|
|
|
}
|