diff options
Diffstat (limited to 'plumbing/object/commitnode_object.go')
-rw-r--r-- | plumbing/object/commitnode_object.go | 2 |
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}
}
|