Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitFile ¶
type CommitFile struct {
// contains filtered or unexported fields
}
type Scanner ¶
type Scanner interface { Scan() ([]match.Transgression, error) GetMetrics() *metrics.Metrics GetType() ScannerType }
func NewScanner ¶
func NewScanner(sc ScannerConfig) (Scanner, error)
type ScannerConfig ¶
type ScannerType ¶
type ScannerType string
const ( GitScanner ScannerType = "gitScanner" DirectoryScanner ScannerType = "dirScanner" StringScanner ScannerType = "stringScanner" )
Click to show internal directories.
Click to hide internal directories.