difftree

package
v3.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2016 License: MIT Imports: 7 Imported by: 0

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)

Jump to

Keyboard shortcuts

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