lib

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2025 License: AGPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(url, outputName, outputDir string) (*os.File, error)

Download a file from a URL and put it in the specified directory with the specified name

func IsUrl

func IsUrl(str string) bool

Return true if the string is a URL

func Untar

func Untar(r io.Reader, dir string) (err error)

Untar reads the gzip-compressed tar file from r and writes it into dir.

Types

This section is empty.

Jump to

Keyboard shortcuts

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