Documentation
¶
Overview ¶
Package dirs provides various utility functions in dealing with directories such as a list of all the files with a given (set of) extensions and finding paths within the Go source directory (GOPATH, etc)
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtFileNames ¶
ExtFileNames returns all the file names with given extension(s) in directory in sorted order (if exts is empty then all files are returned)
func ExtFiles ¶
ExtFiles returns all the FileInfo's for files with given extension(s) in directory in sorted order (if exts is empty then all files are returned). In case of error, returns nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.