northvolt-go-disk-usage

command module
v0.0.0-...-c599ec7 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 License: Unlicense Imports: 2 Imported by: 0

README

go-disk-usage

Get disk usage information like how much space is available, free, and used.

Documentation

Documentation can be found here and there is a short example of how to use this library.

Compatibility

This works for Windows, MacOS, and Linux although there may some minor variability between what this library reports and what you get from df. This library will maintain reverse compatability, any breaking changes will be made to a forked repository.

Install

go get -u "github.com/ricochet2200/go-disk-usage/du"

Usage

import "github.com/ricochet2200/go-disk-usage/du"
usage := du.New("/path/to")

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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