git

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Files

type Files struct {
	WorkDir string
	Entries []string
}

func FilesChanged

func FilesChanged(dir string, rev string) (Files, error)

type Object

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

func (*Object) Diff

func (o *Object) Diff(pc *git.Commit, cc *git.Commit) *git.Diff

func (*Object) GetDiffDeltaEntries

func (o *Object) GetDiffDeltaEntries(diff *git.Diff) []string

func (*Object) LookupCommit

func (o *Object) LookupCommit(rev string) *git.Commit

func (*Object) OpenRepo

func (o *Object) OpenRepo(dir string)

func (*Object) WalkCommitTree

func (o *Object) WalkCommitTree(c *git.Commit, fn git.TreeWalkCallback)

Jump to

Keyboard shortcuts

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