Documentation ¶
Overview ¶
Package diskusage is used to get platform specific file system usage information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskUsage ¶
type DiskUsage struct {
// contains filtered or unexported fields
}
DiskUsage contains usage data and provides user-friendly access methods.
func NewDiskUsage ¶
NewDiskUsage returns an object holding the disk usage of volumePath or nil in case of error (invalid path, etc).
func (*DiskUsage) Available ¶
Available return total available bytes on file system to an unprivileged user.
Click to show internal directories.
Click to hide internal directories.