Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Debug is the logger function for the debug level. Debug func(string, ...interface{}) // Info is the logger function for the info level. Info func(string, ...interface{}) // Warn is the logger function for the warning level. Warn func(string, error) error // Error is the logger function for the error level. Error func(string, error) error )
Functions ¶
Types ¶
type ErrAlreadyExists ¶
ErrAlreadyExists signifies, that a file or directory can't be overriden, because it already exists.
func (*ErrAlreadyExists) Error ¶
func (err *ErrAlreadyExists) Error() string
Error returns the whole error about the existing file.
type ErrNotFound ¶
type ErrNotFound ErrAlreadyExists
ErrNotFound is returned when a source copied from doesn't exists.
func (*ErrNotFound) Error ¶
func (err *ErrNotFound) Error() string
Error returns the whole error about the existing file.
Click to show internal directories.
Click to hide internal directories.