Documentation ¶
Overview ¶
Package untar untars a tarball to disk.
Index ¶
- Variables
- func CancelWhenSignaled(parent context.Context) context.Context
- func CheckInstall()
- func DoCmd(cmd string, args ...string)
- func GetCopyright(file string) string
- func GetDomain() string
- func Untar(r io.Reader, dir string, ...) error
- func WriteIfNotFound(path, templateName, templateValue string, data interface{}) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var Domain string
View Source
var GoSrc string
View Source
var Repo string
Functions ¶
func CancelWhenSignaled ¶ added in v1.15.1
func CheckInstall ¶
func CheckInstall()
func GetCopyright ¶
func Untar ¶ added in v1.17.0
Untar reads the gzip-compressed tar file from r and writes it into dir.
func WriteIfNotFound ¶
writeIfNotFound returns true if the file was created and false if it already exists
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.