subtrac

package
v0.0.0-...-6f55d3a Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NotPresent = &NotPresentError{}

Functions

This section is empty.

Types

type Cache

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

func NewCache

func NewCache(rdir string, r *git.Repository, excludes []string,
	autoexclude bool,
	debugf, infof func(fmt string, args ...interface{})) (*Cache, error)

func (*Cache) String

func (c *Cache) String() string

func (*Cache) TracByRef

func (c *Cache) TracByRef(refname string) (*object.Commit, error)

Generate a synthetic commit for the given ref.

func (*Cache) UpdateBranchRefs

func (c *Cache) UpdateBranchRefs() error

Load all branches into the cache, and update a .trac ref for each one.

type NotPresentError

type NotPresentError struct{}

type Trac

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

A Trac represents a commit or tree somewhere in the project's hierarchy, including submodules. If one of its children contains submodules, subHeads and tracCommit will be populated.

func (Trac) String

func (t Trac) String() string

Jump to

Keyboard shortcuts

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