Documentation
¶
Overview ¶
Package changes detects which files changed between two commits and, from the path rules in the manifest, which component builds and deploys those changes trigger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DetectResult ¶
type DetectResult struct {
TriggeredBuilds []string `json:"triggered_builds"`
TriggeredDeploys []string `json:"triggered_deploys"`
HasChanges bool `json:"has_changes"`
ChangedFiles []string `json:"changed_files"`
}
DetectResult is the output of detect-changes command
func Detect ¶
func Detect(cfg *config.TrunkConfig, baseSHA, headSHA string) (*DetectResult, error)
Detect determines which builds and deploys are triggered by changes
Click to show internal directories.
Click to hide internal directories.