disk

package
v1.0.0-beta.34 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2026 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Info

func Info() (map[string]types.DirStats, error)

Info returns the total size and available size for root and snap dirs on the host system, using the statfs syscall.

func InfoFromRawData

func InfoFromRawData(dfData string) (map[string]types.DirStats, error)

InfoFromRawData returns the total size and available size of the root and snap dirs, taking a string in which represents the output of the df command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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