Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AnalyzeRootModules ¶
func AnalyzeRootModules(rootModuleDirs []string, changedFiles map[string]struct{}, basePath string, logger *slog.Logger) ([]string, error)
AnalyzeRootModules analyzes multiple root modules and returns the list of updated ones
func ConvertToRelativePath ¶
ConvertToRelativePath converts an absolute path to a relative path from basePath
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
Analyzer analyzes Terraform modules and determines which ones have been updated
func NewAnalyzer ¶
NewAnalyzer creates a new Analyzer instance
func (*Analyzer) GetAnalysisCache ¶
GetAnalysisCache returns the analysis cache (useful for testing)
Click to show internal directories.
Click to hide internal directories.