gitiles

package
v0.0.0-...-89f451c Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Package gitiles imlements provider.Provider using the Gitiles API.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Gitiles

type Gitiles struct {
	// contains filtered or unexported fields
}

Gitiles implements provider.Provider.

func New

func New(c *http.Client, instanceConfig *config.InstanceConfig) *Gitiles

New returns a new instance of Gitiles.

func (*Gitiles) CommitsFromMostRecentGitHashToHead

func (g *Gitiles) CommitsFromMostRecentGitHashToHead(ctx context.Context, mostRecentGitHash string, cb provider.CommitProcessor) error

CommitsFromMostRecentGitHashToHead implements provider.Provider.

func (*Gitiles) GitHashesInRangeForFile

func (g *Gitiles) GitHashesInRangeForFile(ctx context.Context, begin, end, filename string) ([]string, error)

GitHashesInRangeForFile implements provider.Provider.

func (*Gitiles) LogEntry

func (g *Gitiles) LogEntry(ctx context.Context, gitHash string) (string, error)

LogEntry implements provider.Provider.

func (*Gitiles) Update

func (g *Gitiles) 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