From b48e4867d1aba5235132533006c8ed8be40344d8 Mon Sep 17 00:00:00 2001 From: Filip Navara Date: Wed, 24 Apr 2019 12:14:53 +0200 Subject: Update comments Signed-off-by: Filip Navara --- plumbing/object/commitnode.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'plumbing/object/commitnode.go') diff --git a/plumbing/object/commitnode.go b/plumbing/object/commitnode.go index 62c0aef..22927f4 100644 --- a/plumbing/object/commitnode.go +++ b/plumbing/object/commitnode.go @@ -8,8 +8,8 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing/storer" ) -// CommitNode is generic interface encapsulating either Commit object or -// graphCommitNode object +// CommitNode is generic interface encapsulating a lightweight commit object retrieved +// from CommitNodeIndex type CommitNode interface { // ID returns the Commit object id referenced by the commit graph node. ID() plumbing.Hash @@ -30,7 +30,6 @@ type CommitNode interface { } // CommitNodeIndex is generic interface encapsulating an index of CommitNode objects -// and accessor methods for walking it as a directed graph type CommitNodeIndex interface { // Get returns a commit node from a commit hash Get(hash plumbing.Hash) (CommitNode, error) -- cgit