Functionality not present for Windows, but change function definition

to ensure build.
This commit is contained in:
Simon Fraser 2015-07-30 17:35:16 +01:00
parent b823f08bb6
commit 8a99b9216d
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ func DiskUsage(path string) (DiskUsageStat, error) {
return ret, nil return ret, nil
} }
func DiskPartitions(all bool) ([]DiskPartitionStat, error) { func DiskPartitions(fstypes []string) ([]DiskPartitionStat, error) {
var ret []DiskPartitionStat var ret []DiskPartitionStat
lpBuffer := make([]byte, 254) lpBuffer := make([]byte, 254)
diskret, _, err := procGetLogicalDriveStringsW.Call( diskret, _, err := procGetLogicalDriveStringsW.Call(