Documentation
¶
Index ¶
- type Analyzer
- func (a *Analyzer) AnalyzeCommit(commit *object.Commit, previousSnapshot Snapshot) (*Result, error)
- func (a *Analyzer) DependenciesAtCommit(commit *object.Commit) ([]Change, error)
- func (a *Analyzer) DependenciesInWorkingDir(root string, includeSubmodules bool) ([]Change, error)
- func (a *Analyzer) PrefetchDiffs(commits []*object.Commit, numWorkers int)
- func (a *Analyzer) SetRepoPath(path string)
- type Change
- type Result
- type Snapshot
- type SnapshotEntry
- type SnapshotKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Analyzer ¶
type Analyzer struct {
// contains filtered or unexported fields
}
func (*Analyzer) AnalyzeCommit ¶
func (*Analyzer) DependenciesAtCommit ¶
func (*Analyzer) DependenciesInWorkingDir ¶ added in v0.11.0
func (*Analyzer) PrefetchDiffs ¶
PrefetchDiffs pre-computes diffs for all commits using a single git log command. This is much faster than individual git diff-tree calls.
func (*Analyzer) SetRepoPath ¶
SetRepoPath sets the repository path for git shell commands.
type Snapshot ¶
type Snapshot map[SnapshotKey]SnapshotEntry
type SnapshotEntry ¶
type SnapshotKey ¶
Click to show internal directories.
Click to hide internal directories.