Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckPermissionsToDir ¶
CheckPermissionsToDir checks if instl can write to a directory
func DownloadFile ¶
DownloadFile downloads a file to tmp and displays a progressbar. The file will be moved to output directory when downloading is finished.
func FindBinary ¶
FindBinary tries to find a binary in the release asset.
Types ¶
type WriteCounter ¶
type WriteCounter struct { Total uint64 // contains filtered or unexported fields }
WriteCounter counts the number of bytes written to it.
Click to show internal directories.
Click to hide internal directories.