Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListFiles ¶
func ListFiles(directory string, includePatterns []string, excludePatterns []string) ([]os.FileInfo, error)
ListFiles list all files in `directory` that match `includePatterns` and unmatch `excludePatterns`
func RemoveFileExtention ¶
RemoveFileExtention remove file ext. Example: file.RemoveFileExtention("abc.a") will return "abc"
Types ¶
type RegexesMatcher ¶
type RegexesMatcher struct {
// contains filtered or unexported fields
}
func (*RegexesMatcher) Match ¶
func (m *RegexesMatcher) Match(input string) bool
Click to show internal directories.
Click to hide internal directories.