Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllFiles ¶ added in v0.5.0
AllFiles walks the directory tree rooted at 'root' and returns a slice of strings containing the paths of all files in the tree, including hidden files. The returned paths are relative from root.
func FilesByExtensions ¶
FilesByExtensions walks the directory tree rooted at 'root' and returns a slice of strings containing the paths of all files in the tree with a file extension in 'extensions'. If an error occurs during the directory walk, it is returned. Although if the error is a permission error, it is logged instead and the directory walk continues.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.