git_checkout

package
v0.0.0-...-1092e40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2024 License: BSD-3-Clause Imports: 19 Imported by: 0

Documentation

Overview

Package git_checkout implements provider.Provider by shelling out to run git commands.

Index

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 New

func New(ctx context.Context, instanceConfig *config.InstanceConfig) (*Impl, error)

New returns a new instance of Impl, which 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.

func (Impl) LogEntry

func (i Impl) LogEntry(ctx context.Context, hash string) (string, error)

LogEntry implements provider.Provider.

func (Impl) Update

func (i Impl) Update(ctx context.Context) error

Update implements provider.Provider.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL