blob: 8dfdaebdae8b0051c9a7b5ab23266fe6ba32334d [file] [log] [blame]
package fs
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...)
}