1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-26 13:48:59 +08:00
shirou_gopsutil/disk/disk_darwin_nocgo.go

19 lines
399 B
Go
Raw Normal View History

// +build darwin
// +build !cgo
package disk
2017-12-31 15:25:49 +09:00
import (
"context"
"github.com/shirou/gopsutil/internal/common"
)
func IOCounters(names ...string) (map[string]IOCountersStat, error) {
2017-12-31 15:25:49 +09:00
return IOCountersWithContext(context.Background(), names...)
}
func IOCountersWithContext(ctx context.Context, names ...string) (map[string]IOCountersStat, error) {
return nil, common.ErrNotImplementedError
}