aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing
diff options
context:
space:
mode:
authorAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-02-22 17:34:25 +0100
committerAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-02-24 11:08:23 +0100
commitcb51ef358e081b5214e3884bd618d1d3fedf8eb1 (patch)
tree81d9845f9ba1c16975c24084e9023492e9e7ee33 /plumbing
parentaffc06dec90529073b5a3b76291b953232f034d9 (diff)
downloadgo-git-cb51ef358e081b5214e3884bd618d1d3fedf8eb1.tar.gz
Added documentation to Diff method
Diffstat (limited to 'plumbing')
-rw-r--r--plumbing/object/tree.go1
1 files changed, 1 insertions, 0 deletions
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)
}