Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListDir ¶
ListDir returns a list of files in a directory. If recurse is true, it will return all files in all subdirectories. If recurse is false, it will return only the files in the directory.
Parameters:
- fpath: the path to the directory
- recurse: whether to recurse into subdirectories
Returns:
- a list of files in the directory
- an error if one occurred
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.