Documentation
¶
Overview ¶
Package paths is responsible for pathing operations/commands
Package paths is responsible for pathing operations/commands
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrNoSourceFile indicates the source file for copy does NOT exist ErrNoSourceFile = errors.New("source file does not exist") // ErrDestExists indicates that the destination already exists ErrDestExists = errors.New("destination file exists") // ErrModeMismatch means that the destination overwrite would be changing mode ErrModeMismatch = errors.New("overwrite will change mode") )
Functions ¶
func CopyOverwrite ¶
CopyOverwrite is the same as Copy however it will overwrite the destination UNLESS the file mode is different than what was given
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.