Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PathExists ¶
PathExists reports whether the given path exists.
It returns (false, nil) if the path does not exist. If an error other than os.ErrNotExist occurs (for example, a permission error), it returns (false, err).
A return value of true indicates that the path exists and was successfully stat-ed, but does not distinguish between files and directories.
func ReadDirNames ¶
ReadDirNames returns the names of all directory entries in the specified directory.
The order of the returned names is filesystem-dependent. If an error occurs while reading the directory, it may return a non-nil slice along with the error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.