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

  1. // +build windows
  2. package stats
  3. import (
  4. "syscall"
  5. )
  6. type DiskStatus struct {
  7. All uint64 `json:"all"`
  8. Used uint64 `json:"used"`
  9. Free uint64 `json:"free"`
  10. }
  11. func DiskUsage(path string) (disk *DiskStatus) {
  12. return
  13. }