10 lines
226 B
Go
10 lines
226 B
Go
//go:build !linux && !windows
|
|
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
func blockDeviceSize(path string) (int64, error) {
|
|
return 0, fmt.Errorf("block device size detection is only implemented on linux and windows (got path %s)", path)
|
|
}
|