Versions in this module Expand all Collapse all v1 v1.0.0 Aug 27, 2026 Changes in this version + type LineRange struct + End int + Start int + type Scope struct + func Resolve(ctx context.Context, anchor, base string) (*Scope, error) + func (s *Scope) Changed(path string) bool + func (s *Scope) Contains(path string) bool + func (s *Scope) FilterDiagnostics(file *source.File, diagnostics []rules.Diagnostic) ([]rules.Diagnostic, []rules.Diagnostic, error) + func (s *Scope) Lines(path string) []LineRange + func (s *Scope) MergeBase() string + func (s *Scope) OwnsTransformation(file *source.File, after []byte) (bool, error) + func (s *Scope) Root() string + func (s *Scope) WholeFile(path string) bool