diskusage

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DirectorySize

func DirectorySize(rootPath string) int64

DirectorySize returns the disk space occupied by a directory tree.

func DiskSpace

func DiskSpace(path string) (uint64, uint64, bool)

DiskSpace returns filesystem capacity for the path that stores SiteBrush data.

func FileSize

func FileSize(filePath string) int64

FileSize returns the disk space occupied by one filesystem entry.

Types

This section is empty.

Jump to

Keyboard shortcuts

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