Documentation
¶
Index ¶
Constants ¶
View Source
const ( ErrorApp = "app" ErrorUser = "user" )
Error types
Variables ¶
This section is empty.
Functions ¶
func EnsureFolder ¶
EnsureFolder creates a folder if it doesn't exist already
func ExitWithError ¶
ExitWithError prints and error then terminates the app
func IsRegularFile ¶
IsRegularFile returns true if the path is a file
func PathExists ¶
PathExists returns true if the path exists on disk
func SanitizePath ¶ added in v0.2.0
SanitizePath removes certain problematic characters from path names
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.