2024-02-17 03:48:29 +00:00
|
|
|
// SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
//go:build !darwin && !linux && !freebsd && !openbsd && !netbsd && !windows && !solaris && !aix
|
2016-08-22 15:31:26 -07:00
|
|
|
|
|
|
|
package disk
|
|
|
|
|
2017-12-31 15:25:49 +09:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
2024-02-17 03:48:29 +00:00
|
|
|
"github.com/shirou/gopsutil/v4/internal/common"
|
2017-12-31 15:25:49 +09:00
|
|
|
)
|
2016-08-22 15:31:26 -07:00
|
|
|
|
2017-12-31 15:25:49 +09:00
|
|
|
func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOCountersStat, error) {
|
2016-08-22 15:31:26 -07:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2017-12-31 15:25:49 +09:00
|
|
|
func PartitionsWithContext(ctx context.Context, all bool) ([]PartitionStat, error) {
|
2016-08-22 15:31:26 -07:00
|
|
|
return []PartitionStat{}, common.ErrNotImplementedError
|
|
|
|
}
|
|
|
|
|
2017-12-31 15:25:49 +09:00
|
|
|
func UsageWithContext(ctx context.Context, path string) (*UsageStat, error) {
|
2016-08-22 15:31:26 -07:00
|
|
|
return nil, common.ErrNotImplementedError
|
|
|
|
}
|
2021-11-06 09:53:56 +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
|
|
|
|
}
|