You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
224 B
17 lines
224 B
// +build windows
|
|
|
|
package stats
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
type DiskStatus struct {
|
|
All uint64 `json:"all"`
|
|
Used uint64 `json:"used"`
|
|
Free uint64 `json:"free"`
|
|
}
|
|
|
|
func DiskUsage(path string) (disk *DiskStatus) {
|
|
return
|
|
}
|