aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/object/commitnode_object.go
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2019-04-24 12:14:53 +0200
committerFilip Navara <filip.navara@gmail.com>2019-04-24 12:14:53 +0200
commitb48e4867d1aba5235132533006c8ed8be40344d8 (patch)
tree8b5caea95ef9ad5388d8b8435a3429653862a700 /plumbing/object/commitnode_object.go
parent55dd4be4dfe8af030b5652782af2d4c37f51197f (diff)
downloadgo-git-b48e4867d1aba5235132533006c8ed8be40344d8.tar.gz
Update comments
Signed-off-by: Filip Navara <filip.navara@gmail.com>
Diffstat (limited to 'plumbing/object/commitnode_object.go')
-rw-r--r--plumbing/object/commitnode_object.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/plumbing/object/commitnode_object.go b/plumbing/object/commitnode_object.go
index 08d8c0f..52316f8 100644
--- a/plumbing/object/commitnode_object.go
+++ b/plumbing/object/commitnode_object.go
@@ -15,6 +15,8 @@ type objectCommitNode struct {
commit *Commit
}
+// NewObjectCommitNodeIndex returns CommitNodeIndex implementation that uses
+// only object storage to load the nodes
func NewObjectCommitNodeIndex(s storer.EncodedObjectStorer) CommitNodeIndex {
return &objectCommitNodeIndex{s}
}