blob: 61f439d3970fe4c44db412aa42d661e8f2df7729 [file] [log] [blame]
package fs
// Usage of disk information
type Usage struct {
Inodes int64
Size int64
}
// DiskUsage counts the number of inodes and disk usage for the resources under
// path.
func DiskUsage(roots ...string) (Usage, error) {
return diskUsage(roots...)
}