From cb51ef358e081b5214e3884bd618d1d3fedf8eb1 Mon Sep 17 00:00:00 2001 From: Antonio Jesus Navarro Perez Date: Wed, 22 Feb 2017 17:34:25 +0100 Subject: Added documentation to Diff method --- plumbing/object/tree.go | 1 + 1 file changed, 1 insertion(+) diff --git a/plumbing/object/tree.go b/plumbing/object/tree.go index d39c315..ef5e140 100644 --- a/plumbing/object/tree.go +++ b/plumbing/object/tree.go @@ -299,6 +299,7 @@ func (t *Tree) buildMap() { } } +// Diff returns a list of changes between this tree and the provided one func (from *Tree) Diff(to *Tree) (Changes, error) { return DiffTree(from, to) } -- cgit