go-fastdfs/vendor/github.com/shirou/gopsutil/disk/disk_darwin_nocgo.go
2019-10-03 10:45:14 +08:00

19 lines
399 B
Go

// +build darwin
// +build !cgo
package disk
import (
"context"
"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) {
return nil, common.ErrNotImplementedError
}