git

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repo

type Repo struct {
	Path string
}

func Init

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

func (*Repo) AddRemote

func (r *Repo) AddRemote(url string) error

func (*Repo) Commit

func (r *Repo) Commit(date time.Time, msg string) error

func (*Repo) CommitAll

func (r *Repo) CommitAll(dates []time.Time) error

func (*Repo) FastImport

func (r *Repo) FastImport(dates []time.Time, intensity int, progress func(int, int)) error

func (*Repo) FastImportLayers

func (r *Repo) FastImportLayers(bgDates []time.Time, bgIntensity int, fgDates []time.Time, fgIntensity int, progress func(int, int)) error

func (*Repo) Push

func (r *Repo) Push() error

Jump to

Keyboard shortcuts

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