Help us shape the future of Go! Take the 2026 Go Developer Survey

git

package
v2.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	GitBranch    string
	GitSha       string
	GitTimestamp int64
	// contains filtered or unexported fields
}

func NewClient

func NewClient(path string, branch string, allowTags bool) (*Client, error)

func (Client) FindExtinctions

func (c Client) FindExtinctions(project options.Project, flags []string, matcher search.Matcher, lookback int) ([]ld.ExtinctionRep, error)

FindExtinctions searches commit history for flags that had references removed recently

func (*Client) RemoteBranches

func (c *Client) RemoteBranches() (branches map[string]bool, err error)

type CommitData

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

Jump to

Keyboard shortcuts

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