Documentation
¶
Index ¶
- func PassesFilter(logger *log.Entry, config *Configuration, fileInfo fs.FileInfo) (bool, string, error)
- func ReadDir(logger *log.Entry, config *Configuration, dirPath string) (files []fs.FileInfo, err error)
- func WalkDir(logger *log.Entry, config *Configuration, dirPath string) (files map[string]fs.FileInfo, err error)
- type Configuration
- type FilterMatch
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PassesFilter ¶
Types ¶
type Configuration ¶
type FilterMatch ¶ added in v0.0.6
type FilterMatch struct { FileInfo fs.FileInfo FilePath string Config *Configuration }
func ReadDirMatches ¶ added in v0.0.6
func ReadDirMatches(logger *log.Entry, configs []Configuration, dirPath string) (filterMatches []FilterMatch, err error)
func WalkDirMatches ¶ added in v0.0.6
func WalkDirMatches(logger *log.Entry, configs []Configuration, dirPath string) (filterMatches []FilterMatch, err error)
Click to show internal directories.
Click to hide internal directories.