Discover Packages
github.com/GLINCKER/levelrail
internal
diskfree
package
Version:
v1.5.8
Opens a new window with list of versions in this module.
Published: Nov 22, 2026
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Rendered for
linux/amd64
windows/amd64
darwin/amd64
js/wasm
Package diskfree reads filesystem usage through one call so callers build on
every platform.
Info is the usage of the filesystem that holds a path. Free counts only what
an unprivileged writer can use. Inode fields are zero where the filesystem
does not report them.
Stat returns Bavail based free space, not Bfree, so root-reserved blocks are
not counted as usable.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.