Documentation ¶
Index ¶
- func ArrayContains[T comparable](arr []T, value T) bool
- func CompressFolder(folder string, destination string) error
- func CopyFile(source string, destin string) error
- func CopyFolder(source string, destination string) error
- func DownloadFile(downloadUrl string, path string) error
- func Exists(path string) bool
- func GetConfigDir(program string) (string, error)
- func GetLogDir(program string) (string, error)
- func GetOutput(command string, arguments []string, workingDir string) (string, error)
- func Getpwd() string
- func Input(prompt string) (string, error)
- func IsDir(path string) bool
- func IsFile(path string) bool
- func IsInt(num string) bool
- func ListFilesRecursively(folder string) ([]string, error)
- func ReadLines(file string) ([]string, error)
- func Run(command string, arguments []string, workingDir string) error
- func SemVersionGreater(v1 string, v2 string) bool
- func UncompressFolder(source string, destination string) error
- func WriteLines(file string, lines []string) error
- func WriteNewFile(file string, content string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayContains ¶
func ArrayContains[T comparable](arr []T, value T) bool
func CompressFolder ¶
func CopyFolder ¶
func DownloadFile ¶
func GetConfigDir ¶ added in v0.2.0
func ListFilesRecursively ¶ added in v0.2.1
func SemVersionGreater ¶
func UncompressFolder ¶
func WriteLines ¶
func WriteNewFile ¶ added in v0.4.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.