Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindFiles ¶
func FindFiles(root string, acceptFn AcceptFunc, skipDirFn SkipDirFunc, relative bool) ([]string, error)
FindFiles finds matches file in root dir.
if skipDirFn is nil, no dir waill be skipped. if relative is true, return relative filename.
Types ¶
type AcceptFunc ¶
AcceptFunc is the function called for each file, return true to accpet file.
The param path is an absolute path
Click to show internal directories.
Click to hide internal directories.