pkg

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayProgressBar

func DisplayProgressBar(current, total int64)

DisplayProgressBar is a default progress display function

func GetFileFormatSize

func GetFileFormatSize(format string) (uint, error)

func JoinFilePath

func JoinFilePath(path, fileName string) string

func NumDigits

func NumDigits(i int64) int

func SanitizeFilename

func SanitizeFilename(name string) string

SanitizeFilename removes potentially dangerous characters from filenames

func ValidateFilePath

func ValidateFilePath(path, fileName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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