Documentation ¶ Index ¶ type Action func (a Action) String() string type Change func (c *Change) String() string type Changes func New(a, b *git.Tree) (Changes, error) func (c Changes) Len() int func (c Changes) Less(i, j int) bool func (c Changes) String() string func (c Changes) Swap(i, j int) 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 ¶ View all Source files difftree.go Click to show internal directories. Click to hide internal directories.