erutils

package
v0.1.0-alpha.10 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFileTo

func DownloadFileTo(url string, dst string, perm os.FileMode, showProgress bool) error

func DownloadFileToTemp

func DownloadFileToTemp(url string, temppattern string, showProgress bool) (string, error)

func MkdirFor

func MkdirFor(file string) (string, error)

func Rename

func Rename(oldpath, newpath string) error

func Untar

func Untar(filename string, dir string) error

Untar reads the tar file and writes it into dir.

func Unzip

func Unzip(src, dest string) error

Unzip src (zip file) to dest (dir)

Types

This section is empty.

Jump to

Keyboard shortcuts

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