mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-13 09:38:36 +02:00
18 lines
224 B
Go
18 lines
224 B
Go
// +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
|
|
}
|