Functionality not present for Windows, but change function definition
to ensure build.
This commit is contained in:
parent
b823f08bb6
commit
8a99b9216d
|
@ -55,7 +55,7 @@ func DiskUsage(path string) (DiskUsageStat, error) {
|
|||
return ret, nil
|
||||
}
|
||||
|
||||
func DiskPartitions(all bool) ([]DiskPartitionStat, error) {
|
||||
func DiskPartitions(fstypes []string) ([]DiskPartitionStat, error) {
|
||||
var ret []DiskPartitionStat
|
||||
lpBuffer := make([]byte, 254)
|
||||
diskret, _, err := procGetLogicalDriveStringsW.Call(
|
||||
|
|
Loading…
Reference in New Issue