utils

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateDirectorySize

func CalculateDirectorySize(path string) (int64, error)

CalculateDirectorySize recursively calculates the size of a directory.

func FormatBytes

func FormatBytes(bytes int64) string

FormatBytes converts bytes to a human-readable string in powers of 1024.

Types

This section is empty.

Jump to

Keyboard shortcuts

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