Documentation ¶
Overview ¶
Package starlark implements the main logic of the analysis for starlark files. It currently supports auto-approval of changes to starlark files which involve comments and formatting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer is an analyzer for starlark files.
func (*Analyzer) BaseIRBuild ¶
BaseIRBuild builds intermediate representation for relevant files in the base diff.
func (*Analyzer) ChangesEq ¶
ChangesEq returns true if the changes between Bazel files in base and last diffs are equivalent.
func (*Analyzer) IsAnalyzable ¶
IsAnalyzable determines if a given file name represents file analyzable by this analyzer.
Click to show internal directories.
Click to hide internal directories.