Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetChangedFiles ¶
GetChangedFiles returns a list of files that have changed between the base ref and HEAD, including any uncommitted changes in the working directory.
func GetDefaultBranch ¶
GetDefaultBranch attempts to determine the default branch of the repository. It checks origin/HEAD first, then falls back to common defaults (main, master).
func GetRepoRoot ¶
GetRepoRoot returns the root directory of the git repository.
func MapFilesToModules ¶
MapFilesToModules takes a list of changed files and returns a list of module directories that contain those files. It filters to only include paths that are within the given module directories (e.g., components/, bases/, projects/).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.