repo

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Date, Base string

Functions

func Commits

func Commits(c Config) (string, error)

Types

type Config

type Config struct {
	Repo    string
	Queries [][]string
	Format  string
}

type Repo

type Repo struct {
	Path string
	// contains filtered or unexported fields
}

func New

func New(path string) (*Repo, error)

func (*Repo) Add

func (r *Repo) Add(revision []byte)

func (*Repo) Logs

func (r *Repo) Logs(format string) (string, error)

func (*Repo) Query

func (r *Repo) Query(limiters []string) error

Query returns a list of revisions that match a set of queries.

func (*Repo) Update added in v1.0.2

func (r *Repo) Update() error

Update runs git pull on the repository.

Jump to

Keyboard shortcuts

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