Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Sanitize func(s string) string = strings.NewReplacer("\\", " ", "/", " ", ":", "", "*", "", "?", "", "\"", "", "<", "", ">", "", "|", "", "\t", "", "\n", "").Replace
Sanitize returns s with characters that are considered unsafe in file paths removed.
Functions ¶
func Move ¶
Move attempts to rename the file first, and if this did not work due to the locations being on different devices it copies and deletes.
func NameWithoutExt ¶
NameWithoutExt returns path without the file extension.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.