Versions in this module Expand all Collapse all v0 v0.1.1 Aug 25, 2021 v0.1.0 Aug 24, 2021 Changes in this version + func CopyFile(src, dst string) (int64, error) + func CreateIfNotExists(path string, isDir bool) error + func GetTotalUsedFds() int — darwin/amd64, linux/amd64, windows/amd64 + func Matches(file string, patterns []string) (bool, error) + func ReadSymlinkedDirectory(path string) (string, error) + func ReadSymlinkedPath(path string) (realPath string, err error) + type MatchResult struct + func (m *MatchResult) Excludes() uint + func (m *MatchResult) IsMatched() bool + func (m *MatchResult) Matches() uint + type Pattern struct + func (p *Pattern) Exclusion() bool + func (p *Pattern) String() string + type PatternMatcher struct + func NewPatternMatcher(patterns []string) (*PatternMatcher, error) + func (pm *PatternMatcher) Exclusions() bool + func (pm *PatternMatcher) IsMatch(file string) (matched bool, err error) + func (pm *PatternMatcher) Matches(file string) (bool, error) + func (pm *PatternMatcher) MatchesResult(file string) (res *MatchResult, err error) + func (pm *PatternMatcher) Patterns() []*Pattern