Documentation
¶
Index ¶
Constants ¶
View Source
const ( Windows = "windows" Darwin = "darwin" )
View Source
const ( ExitOK exitCode = 0 ExitError exitCode = 1 )
View Source
const DirPermission = 0o755
Variables ¶
View Source
var ( // PartialWindowsForbiddenCharRegex is used to match the strings that contain forbidden // characters in Windows' file names. This does not include also forbidden // forward and back slash characters because their presence will cause a new // directory to be created. PartialWindowsForbiddenCharRegex = regexp.MustCompile(`<|>|:|"|\||\?|\*`) // CompleteWindowsForbiddenCharRegex is like windowsForbiddenRegex but includes // forward and backslashes. CompleteWindowsForbiddenCharRegex = regexp.MustCompile( `<|>|:|"|\||\?|\*|/|\\`, ) // MacForbiddenCharRegex is used to match the strings that contain forbidden // characters in macOS' file names. MacForbiddenCharRegex = regexp.MustCompile(`:`) )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.