Documentation
¶
Overview ¶
Package filematch is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultGlobCompiler ¶
func NewDefaultGlobCompiler() globCompiler
Types ¶
type ErrInvalidPattern ¶
ErrInvalidPattern represents an error due to an invalid glob pattern.
func (ErrInvalidPattern) Error ¶
func (e ErrInvalidPattern) Error() string
type FileMatcher ¶
FileMatcher matches file paths against configured patterns and returns the subset of paths that match.
type MockFileMatcher ¶ added in v1.196.0
type MockFileMatcher struct {
// contains filtered or unexported fields
}
MockFileMatcher is a mock of FileMatcher interface.
func NewMockFileMatcher ¶ added in v1.196.0
func NewMockFileMatcher(ctrl *gomock.Controller) *MockFileMatcher
NewMockFileMatcher creates a new mock instance.
func (*MockFileMatcher) EXPECT ¶ added in v1.196.0
func (m *MockFileMatcher) EXPECT() *MockFileMatcherMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockFileMatcher) MatchFiles ¶ added in v1.196.0
func (m *MockFileMatcher) MatchFiles(arg0 []string) ([]string, error)
MatchFiles mocks base method.
type MockFileMatcherMockRecorder ¶ added in v1.196.0
type MockFileMatcherMockRecorder struct {
// contains filtered or unexported fields
}
MockFileMatcherMockRecorder is the mock recorder for MockFileMatcher.
func (*MockFileMatcherMockRecorder) MatchFiles ¶ added in v1.196.0
func (mr *MockFileMatcherMockRecorder) MatchFiles(arg0 any) *gomock.Call
MatchFiles indicates an expected call of MatchFiles.
type MockcompiledGlob ¶
type MockcompiledGlob struct {
// contains filtered or unexported fields
}
MockcompiledGlob is a mock of compiledGlob interface.
func NewMockcompiledGlob ¶
func NewMockcompiledGlob(ctrl *gomock.Controller) *MockcompiledGlob
NewMockcompiledGlob creates a new mock instance.
func (*MockcompiledGlob) EXPECT ¶
func (m *MockcompiledGlob) EXPECT() *MockcompiledGlobMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockcompiledGlob) Match ¶
func (m *MockcompiledGlob) Match(arg0 string) bool
Match mocks base method.
type MockcompiledGlobMockRecorder ¶
type MockcompiledGlobMockRecorder struct {
// contains filtered or unexported fields
}
MockcompiledGlobMockRecorder is the mock recorder for MockcompiledGlob.
type MockglobCompiler ¶
type MockglobCompiler struct {
// contains filtered or unexported fields
}
MockglobCompiler is a mock of globCompiler interface.
func NewMockglobCompiler ¶
func NewMockglobCompiler(ctrl *gomock.Controller) *MockglobCompiler
NewMockglobCompiler creates a new mock instance.
func (*MockglobCompiler) Compile ¶
func (m *MockglobCompiler) Compile(pattern string) (compiledGlob, error)
Compile mocks base method.
func (*MockglobCompiler) EXPECT ¶
func (m *MockglobCompiler) EXPECT() *MockglobCompilerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockglobCompilerMockRecorder ¶
type MockglobCompilerMockRecorder struct {
// contains filtered or unexported fields
}
MockglobCompilerMockRecorder is the mock recorder for MockglobCompiler.