log

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommitRecord recordType = iota
	CheckoutRecord
	BranchRecord
)

Variables

This section is empty.

Functions

func NewRecord

func NewRecord(recType recordType, from, to sha.SHA1, name, email string, t time.Time, message string) *record

Types

type GoitLogger

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

func NewGoitLogger

func NewGoitLogger(rootGoitPath string) *GoitLogger

func (*GoitLogger) DeleteBranch

func (l *GoitLogger) DeleteBranch(branchName string) error

func (*GoitLogger) WriteBranch

func (l *GoitLogger) WriteBranch(r *record, branchName string) error

func (*GoitLogger) WriteHEAD

func (l *GoitLogger) WriteHEAD(r *record) error

Jump to

Keyboard shortcuts

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