utils

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisplayDownloadFunction added in v1.22.0

func DisplayDownloadFunction(fileName string, current string, total string, percentage float64)

func EscapeNewLines added in v1.23.2

func EscapeNewLines(s string) string

func ExtractArchive

func ExtractArchive(archive, dst string) error

func GetURI

func GetURI(url string, f func(url string, i []byte) error) error

func IsArchive

func IsArchive(file string) bool

func ResetDownloadTimers added in v1.22.0

func ResetDownloadTimers()

func VerifyPath

func VerifyPath(path, basePath string) error

VerifyPath verifies that path is based in basePath.

Types

This section is empty.

Jump to

Keyboard shortcuts

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