log

package
v1.9.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

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

type RecordType added in v1.9.0

type RecordType int
const (
	UndefinedRecord RecordType = iota
	CommitRecord
	CheckoutRecord
	BranchRecord
)

func NewRecordType added in v1.9.0

func NewRecordType(typeString string) RecordType

func (RecordType) String added in v1.9.0

func (t RecordType) String() string

Jump to

Keyboard shortcuts

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