Documentation ¶
Index ¶
- func CheckFileExist(file string) bool
- func CreateDirIfNotExist(dir string)
- func CreateSymlink(cwd string, dir string) error
- func DownloadFromURL(installLocation string, url string) (string, error)
- func RemoveFiles(src string)
- func RemoveSymlink(symlinkPath string) error
- func RenameFile(src string, dest string)
- func Unzip(src string, dest string) ([]string, error)
- type Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckFileExist ¶
CheckFileExist : check if file exist in directory
func CreateDirIfNotExist ¶
func CreateDirIfNotExist(dir string)
CreateDirIfNotExist : create directory if directory does not exist
func CreateSymlink ¶
CreateSymlink : create symlink
func DownloadFromURL ¶
DownloadFromURL : Downloads the binary from the source url
Types ¶
Click to show internal directories.
Click to hide internal directories.