diff options
author | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-22 17:34:25 +0100 |
---|---|---|
committer | Antonio Jesus Navarro Perez <antonio@sourced.tech> | 2017-02-24 11:08:23 +0100 |
commit | cb51ef358e081b5214e3884bd618d1d3fedf8eb1 (patch) | |
tree | 81d9845f9ba1c16975c24084e9023492e9e7ee33 | |
parent | affc06dec90529073b5a3b76291b953232f034d9 (diff) | |
download | go-git-cb51ef358e081b5214e3884bd618d1d3fedf8eb1.tar.gz |
Added documentation to Diff method
-rw-r--r-- | plumbing/object/tree.go | 1 |
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) } |