Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileExists ¶
File exists has three different return cases that should be handled:
- File exists and is not a directory (true, nil)
- File does not exist (false, nil)
- File may or may not exist. Error occurred during stat (false, error)
The third case represents the scenario where the stat returns an error, but the error isn't relevant to the path. This can happen when the current user doesn't have permission to access the file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.