Documentation ¶
Overview ¶
Package git_checkout implements provider.Provider by shelling out to run git commands.
Index ¶
- type Impl
- func (i Impl) CommitsFromMostRecentGitHashToHead(ctx context.Context, mostRecentGitHash string, cb provider.CommitProcessor) error
- func (i Impl) GitHashesInRangeForFile(ctx context.Context, begin, end, filename string) ([]string, error)
- func (i Impl) LogEntry(ctx context.Context, hash string) (string, error)
- func (i Impl) Update(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Impl ¶
type Impl struct {
// contains filtered or unexported fields
}
Impl implements provider.Provider.
func (Impl) CommitsFromMostRecentGitHashToHead ¶
func (i Impl) CommitsFromMostRecentGitHashToHead(ctx context.Context, mostRecentGitHash string, cb provider.CommitProcessor) error
CommitsFromMostRecentGitHashToHead implements provider.Provider.
func (Impl) GitHashesInRangeForFile ¶
func (i Impl) GitHashesInRangeForFile(ctx context.Context, begin, end, filename string) ([]string, error)
GitHashesInRangeForFile implements provider.Provider.
Click to show internal directories.
Click to hide internal directories.