aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/format/commitgraph/encoder.go
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2019-05-07 10:49:39 +0200
committerFilip Navara <filip.navara@gmail.com>2019-05-07 10:49:39 +0200
commit7d2695741f4d1f572a36f7225b6bbb2f569d59d7 (patch)
treee794d037e57d13a816a162fe1c31ab6ce45d58c0 /plumbing/format/commitgraph/encoder.go
parent940460f5422b02f01351396af703e9b63e8596ae (diff)
downloadgo-git-7d2695741f4d1f572a36f7225b6bbb2f569d59d7.tar.gz
Add doc.go for commitgraph packages
Signed-off-by: Filip Navara <filip.navara@gmail.com>
Diffstat (limited to 'plumbing/format/commitgraph/encoder.go')
-rw-r--r--plumbing/format/commitgraph/encoder.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/plumbing/format/commitgraph/encoder.go b/plumbing/format/commitgraph/encoder.go
index 648153f..a06871c 100644
--- a/plumbing/format/commitgraph/encoder.go
+++ b/plumbing/format/commitgraph/encoder.go
@@ -22,6 +22,7 @@ func NewEncoder(w io.Writer) *Encoder {
return &Encoder{mw, h}
}
+// Encode writes an index into the commit-graph file
func (e *Encoder) Encode(idx Index) error {
var err error