Versions in this module Expand all Collapse all v0 v0.10.6 May 29, 2026 v0.10.5 May 21, 2026 Changes in this version + var ErrShallowRepository = errors.New(...) + type ChangedModulesDetector struct + func NewChangedModulesDetector(gitClient *Client, index *discovery.ModuleIndex, rootDir string) *ChangedModulesDetector + func (d *ChangedModulesDetector) DetectChanges(baseRef string, libraryPaths []string) (modules []*discovery.Module, files, changedLibraries []string, err error) + func (d *ChangedModulesDetector) DetectUncommittedModules() ([]*discovery.Module, error) + type Client struct + WorkDir string + func NewClient(workDir string) *Client + func (c *Client) GetChangedFiles(baseRef string) ([]string, error) + func (c *Client) GetChangedFilesFromCommit(commitHash string) ([]string, error) + func (c *Client) GetUncommittedChanges() ([]string, error) + func (c *Client) IsGitRepo() bool + func (c *Client) IsShallow() (bool, error) + func (c *Client) ResolveBaseRef(baseRef string) string