Documentation ¶
Index ¶
- func CopyFileOnUnixSudo(from, to string) error
- func DNForAPTonLinux() string
- func GetShellConfigFilePath() string
- func IsDir(path string) bool
- func IsFile(path string) bool
- func MoveFileOnUnixSudo(from, to string) error
- func SortVersions(versions []string)
- func SymbolicLink(oldname, newname string) error
- func UnzipForWindows(zipFilePath, dstDir string) error
- type Version
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyFileOnUnixSudo ¶ added in v0.0.2
func DNForAPTonLinux ¶ added in v0.0.2
func DNForAPTonLinux() string
func GetShellConfigFilePath ¶
func GetShellConfigFilePath() string
func MoveFileOnUnixSudo ¶ added in v0.0.4
func SortVersions ¶ added in v0.1.2
func SortVersions(versions []string)
SortVersions sorts a slice of version strings in descending order.
func SymbolicLink ¶
func UnzipForWindows ¶ added in v0.0.6
Types ¶
Click to show internal directories.
Click to hide internal directories.