Documentation ¶
Overview ¶
Package filesystem implements things like moving files, copying them, etc.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrEmptyPath = errors.New("provided path is empty") // ErrEmptyPath is returned when function is called with empty path parameter ErrPathIsDirectory = fmt.Errorf("provided path is directory: %w", os.ErrExist) // ErrPathIsDirectory is returned when path exists, but is a directory and not a file ErrFileNotRegular = errors.New("file is not regular file") // ErrFileNotRegular is returned when path exists, but is not a regular file )
Functions ¶
func CheckFileExists ¶
CheckFileExists checks if file exists at PATH
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.