disk

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package disk provides cross platform disk usage information

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Drives

func Drives() ([]string, error)

Drives returns the paths of all drives on Windows. It is a no-op on other systems

func Usage

func Usage(p string) (free, total uint64, err error)

Usage returns the free and total bytes on the filesystem containing the specified path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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