gcdu

package module
v0.0.0-...-ad38af9 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

+build !windows

Index

Constants

View Source
const (
	//Byte conversion factors
	B_MB = (1024.0 * 1024)
	B_GB = (1024.0 * 1024.0 * 1024.0)
)

Variables

This section is empty.

Functions

func DisplayInfo

func DisplayInfo(disk UsageInfo)

Types

type UsageInfo

type UsageInfo struct {
	Total uint64
	Used  uint64
	Free  uint64
}

func FetchDiskUsage

func FetchDiskUsage(path string) (disk UsageInfo)

Jump to

Keyboard shortcuts

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