Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsDirectory ¶
func IsDirectory(path string) (bool, error)
IsDirectory returns true if path points to an existing directory and false otherwise. Errors not satisfying errors.Is(err, fs.ErrNotExist) are passed on to the caller.
func IsFile ¶
func IsFile(path string) (bool, error)
IsFile returns true if path points to an existing file and false otherwise. Errors not satisfying errors.Is(err, fs.ErrNotExist) are passed on to the caller.
func IsFileOrDirectory ¶
func IsFileOrDirectory(path string) (bool, error)
IsFileOrDirectory returns true if path points to an existing file or directory and false otherwise. Errors not satisfying errors.Is(err, fs.ErrNotExist) are passed on to the caller.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.