Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action int
const (
	Insert Action = iota
	Delete
	Modify
)

func (Action) String

func (a Action) String() string

type Change

type Change struct {
	Action
	File *git.File
}

func (*Change) String

func (c *Change) String() string

type Changes

type Changes []*Change

func New

func New(a, b *git.Tree) (Changes, error)

func (Changes) Len

func (c Changes) Len() int

func (Changes) Less

func (c Changes) Less(i, j int) bool

func (Changes) String

func (c Changes) String() string

func (Changes) Swap

func (c Changes) Swap(i, j int)

Source Files