Documentation ¶
Index ¶
- type DockerfileIgnorePathMatcher
- func (f *DockerfileIgnorePathMatcher) BasePath() string
- func (f *DockerfileIgnorePathMatcher) MatchPath(path string) bool
- func (f *DockerfileIgnorePathMatcher) ProcessDirOrSubmodulePath(path string) (bool, bool)
- func (f *DockerfileIgnorePathMatcher) String() string
- func (f *DockerfileIgnorePathMatcher) TrimFileBasePath(filePath string) string
- type GitMappingPathMatcher
- func (f *GitMappingPathMatcher) BasePath() string
- func (f *GitMappingPathMatcher) MatchPath(path string) bool
- func (f *GitMappingPathMatcher) ProcessDirOrSubmodulePath(path string) (bool, bool)
- func (f *GitMappingPathMatcher) String() string
- func (f *GitMappingPathMatcher) TrimFileBasePath(filePath string) string
- type PathMatcher
- type SimplePathMatcher
- func (f *SimplePathMatcher) BasePath() string
- func (f *SimplePathMatcher) MatchPath(path string) bool
- func (f *SimplePathMatcher) Paths() []string
- func (f *SimplePathMatcher) ProcessDirOrSubmodulePath(path string) (bool, bool)
- func (f *SimplePathMatcher) String() string
- func (f *SimplePathMatcher) TrimFileBasePath(filePath string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DockerfileIgnorePathMatcher ¶
type DockerfileIgnorePathMatcher struct {
// contains filtered or unexported fields
}
func NewDockerfileIgnorePathMatcher ¶
func NewDockerfileIgnorePathMatcher(basePath string, patternMatcher *fileutils.PatternMatcher, greedySearch bool) *DockerfileIgnorePathMatcher
func (*DockerfileIgnorePathMatcher) BasePath ¶
func (f *DockerfileIgnorePathMatcher) BasePath() string
func (*DockerfileIgnorePathMatcher) MatchPath ¶
func (f *DockerfileIgnorePathMatcher) MatchPath(path string) bool
func (*DockerfileIgnorePathMatcher) ProcessDirOrSubmodulePath ¶
func (f *DockerfileIgnorePathMatcher) ProcessDirOrSubmodulePath(path string) (bool, bool)
func (*DockerfileIgnorePathMatcher) String ¶
func (f *DockerfileIgnorePathMatcher) String() string
func (*DockerfileIgnorePathMatcher) TrimFileBasePath ¶
type GitMappingPathMatcher ¶
type GitMappingPathMatcher struct {
// contains filtered or unexported fields
}
func NewGitMappingPathMatcher ¶
func NewGitMappingPathMatcher(basePath string, includePaths, excludePaths []string, greedySearch bool) *GitMappingPathMatcher
func (*GitMappingPathMatcher) BasePath ¶
func (f *GitMappingPathMatcher) BasePath() string
func (*GitMappingPathMatcher) MatchPath ¶
func (f *GitMappingPathMatcher) MatchPath(path string) bool
func (*GitMappingPathMatcher) ProcessDirOrSubmodulePath ¶
func (f *GitMappingPathMatcher) ProcessDirOrSubmodulePath(path string) (bool, bool)
func (*GitMappingPathMatcher) String ¶
func (f *GitMappingPathMatcher) String() string
func (*GitMappingPathMatcher) TrimFileBasePath ¶
type PathMatcher ¶
type SimplePathMatcher ¶
type SimplePathMatcher struct {
// contains filtered or unexported fields
}
func NewSimplePathMatcher ¶
func NewSimplePathMatcher(basePath string, paths []string, greedySearch bool) *SimplePathMatcher
func (*SimplePathMatcher) BasePath ¶
func (f *SimplePathMatcher) BasePath() string
func (*SimplePathMatcher) MatchPath ¶
func (f *SimplePathMatcher) MatchPath(path string) bool
func (*SimplePathMatcher) Paths ¶
func (f *SimplePathMatcher) Paths() []string
func (*SimplePathMatcher) ProcessDirOrSubmodulePath ¶
func (f *SimplePathMatcher) ProcessDirOrSubmodulePath(path string) (bool, bool)
func (*SimplePathMatcher) String ¶
func (f *SimplePathMatcher) String() string
func (*SimplePathMatcher) TrimFileBasePath ¶
Click to show internal directories.
Click to hide internal directories.