Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigAnalyzer ¶
type ConfigAnalyzer struct {
// contains filtered or unexported fields
}
func NewConfigAnalyzer ¶
func NewConfigAnalyzer(filePattern *regexp.Regexp) ConfigAnalyzer
func (ConfigAnalyzer) Analyze ¶
func (s ConfigAnalyzer) Analyze(_ context.Context, input analyzer.AnalysisInput) (*analyzer.AnalysisResult, error)
func (ConfigAnalyzer) Required ¶
func (s ConfigAnalyzer) Required(filePath string, _ os.FileInfo) bool
Required does a case-insensitive check for filePath and returns true if filePath equals/startsWith/hasExtension requiredFiles
func (ConfigAnalyzer) Type ¶
func (s ConfigAnalyzer) Type() analyzer.Type
func (ConfigAnalyzer) Version ¶
func (s ConfigAnalyzer) Version() int
Click to show internal directories.
Click to hide internal directories.