rainbond: github.com/goodrain/rainbond/util/disk Index | Files

package disk

import "github.com/goodrain/rainbond/util/disk"


Package Files

disk.go disk_linux.go

type Status Uses

type Status struct {
    All  uint64 `json:"all"`
    Used uint64 `json:"used"`
    Free uint64 `json:"free"`

Status disk status

func DiskUsage Uses

func DiskUsage(path string) (disk Status)

disk usage of path/disk

Package disk imports 1 packages (graph) and is imported by 1 packages. Updated 2019-01-07. Refresh now. Tools for package owners.