Documentation
¶
Overview ¶
Package check implements the "check" CLI command.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
*root.Config
// BaselinePath is the baseline to compare with; empty means
// anarch-baseline.json in --dir.
BaselinePath string
// NewFromRev, when set, limits the finding gate to lines changed since
// that revision.
NewFromRev string
// BaselineRev, when set, measures the code at that revision and
// compares with it instead of the baseline file.
BaselineRev string
// WaiversPath names the waivers file; empty means anarch-waivers.json in
// --dir, if it exists.
WaiversPath string
// Today is the date waivers expire against, YYYY-MM-DD; empty means the
// current date.
Today string
Flags *ff.FlagSet
Command *ff.Command
}
Config holds the configuration for the check command.
Click to show internal directories.
Click to hide internal directories.