Documentation ¶
Index ¶
- func FindRepoRoot() (string, error)
- func MakeTempCopyOfRepo(repoPath string, tempPath string) (*git.Repository, error)
- func OpenRepoInMemory(path string) (*git.Repository, error)
- func WalkUpRepoHistory(repo *git.Repository, observer HistoryObserver) error
- type GitMetric
- type GraphRenderer
- type HistoryObserver
- type MetricCalculator
- type Options
- type Sample
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FindRepoRoot ¶
func MakeTempCopyOfRepo ¶
Clone the repo into a temp folder
func OpenRepoInMemory ¶
Clone the repo in memory
func WalkUpRepoHistory ¶
func WalkUpRepoHistory(repo *git.Repository, observer HistoryObserver) error
Types ¶
type GitMetric ¶
type GitMetric interface { MetricCalculator GraphRenderer IsReadOnly() bool }
type GraphRenderer ¶
type HistoryObserver ¶
type MetricCalculator ¶
type Options ¶
func (Options) WalkUpRepoHistory ¶
func (o Options) WalkUpRepoHistory(repo *git.Repository, observer HistoryObserver) error
Click to show internal directories.
Click to hide internal directories.