Documentation ¶
Index ¶
- func ClearEmptyDirs(dPath string)
- func CopyFileOnUnixSudo(from, to string) error
- func DNForAPTonLinux() string
- func GetPathEnvSeperator() string
- func GetShellConfigFilePath() string
- func IsDir(path string) bool
- func IsFile(path string) bool
- func IsHyperVEnabledForWindows() 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 ClearEmptyDirs ¶ added in v0.1.5
func ClearEmptyDirs(dPath string)
func CopyFileOnUnixSudo ¶ added in v0.0.2
func DNForAPTonLinux ¶ added in v0.0.2
func DNForAPTonLinux() string
func GetPathEnvSeperator ¶ added in v0.1.7
func GetPathEnvSeperator() string
func GetShellConfigFilePath ¶
func GetShellConfigFilePath() string
func IsHyperVEnabledForWindows ¶ added in v0.1.4
func IsHyperVEnabledForWindows() bool
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.