Commit d99b3db3 authored by WAKAYAMA Shirou's avatar WAKAYAMA Shirou Committed by Shirou WAKAYAMA

go fmt

parent a2b5e67b
......@@ -14,9 +14,9 @@ func Disk_usage(path string) (Disk_usageStat, error) {
bsize := stat.Bsize / 512
ret := Disk_usageStat{
Path: path,
Total: (uint64(stat.Blocks) * uint64(bsize)) >> 1,
Free: (uint64(stat.Bfree) * uint64(bsize)) >> 1,
Path: path,
Total: (uint64(stat.Blocks) * uint64(bsize)) >> 1,
Free: (uint64(stat.Bfree) * uint64(bsize)) >> 1,
}
ret.Used = (ret.Total - ret.Free)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment