Documentation
¶
Overview ¶
Package git extracts deterministic commit-mutation traces from Git repos.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalRepoIDFromURL ¶
CanonicalRepoIDFromURL derives the evaluation repository identity from a GitHub HTTPS repository URL.
func CloneForReplay ¶
CloneForReplay creates a fresh managed clone for repoURL under baseDir.
func ClonePathForURL ¶
ClonePathForURL returns the local clone path for a GitHub HTTPS repository under baseDir.
Types ¶
type Source ¶
type Source struct {
RepoURL string
RepoPath string
CloneBaseDir string
Ref string
Limit int
FirstParent bool
}
Source streams Git object commit snapshots as replay.CommitMutation values.
func (Source) CommitCount ¶ added in v0.0.3
CommitCount returns the number of commits Source.Walk would visit after applying ref, first-parent, and limit settings.
Click to show internal directories.
Click to hide internal directories.