disk

package
v0.0.0-...-a6941c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatFS

type StatFS struct {
	Total  int64
	Free   int64
	FSType string
}

StatFS stat fs struct is container which holds following values Total - total size of the volume / disk Free - free size of the volume / disk FSType - file system type string

func Stat

func Stat(path string) (statfs StatFS, err error)

Stat returns total and free bytes available in a directory, e.g. `/`.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL