Documentation ¶
Index ¶
- func CheckForUpdates(version string) (bool, error)
- func DownloadFile(url string, path string) error
- func GenerateTimeString(duration time.Duration) string
- func GetClobberPath() string
- func GetCloverPath() string
- func GetHomePath() string
- func GetLogFilePath() string
- func GetLogsPath() string
- func GetSourcePath() string
- func GetUdkPath() string
- func StringReplaceFile(path string, find string, replace string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckForUpdates ¶
CheckForUpdates checks GitHub for any version updates
func DownloadFile ¶
DownloadFile will download a url to a local file
func GenerateTimeString ¶ added in v0.0.3
GenerateTimeString generates a human readable time string (eg. "1 hour, 2 minutes and 12 seconds")
func GetClobberPath ¶
func GetClobberPath() string
GetClobberPath returns the full path to the Clobber directory
func GetHomePath ¶
func GetHomePath() string
GetHomePath returns the full path to the user's home directory
func GetLogFilePath ¶ added in v0.0.6
func GetLogFilePath() string
GetLogFilePath returns the full path to the current log file
func GetLogsPath ¶ added in v0.0.6
func GetLogsPath() string
GetLogsPath returns the full path to the logs directory
func GetSourcePath ¶
func GetSourcePath() string
GetSourcePath returns the full path to the source/work directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.