aboutsummaryrefslogtreecommitdiffstats
path: root/formats
diff options
context:
space:
mode:
Diffstat (limited to 'formats')
-rw-r--r--formats/idxfile/doc.go4
-rw-r--r--formats/packfile/doc.go6
-rw-r--r--formats/pktline/doc.go1
3 files changed, 7 insertions, 4 deletions
diff --git a/formats/idxfile/doc.go b/formats/idxfile/doc.go
index 74149ab..8a76853 100644
--- a/formats/idxfile/doc.go
+++ b/formats/idxfile/doc.go
@@ -1,3 +1,6 @@
+// Package idxfile implements a encoder/decoder of idx files
+package idxfile
+
/*
== Original (version 1) pack-*.idx files have the following format:
@@ -127,4 +130,3 @@ Pack file entry: <+
From:
https://www.kernel.org/pub/software/scm/git/docs/v1.7.5/technical/pack-protocol.txt
*/
-package idxfile
diff --git a/formats/packfile/doc.go b/formats/packfile/doc.go
index c79c180..0b173ca 100644
--- a/formats/packfile/doc.go
+++ b/formats/packfile/doc.go
@@ -1,6 +1,7 @@
-// Package packfile documentation:
-/*
+// Package packfile implements a encoder/decoder of packfile format
+package packfile
+/*
GIT pack format
===============
@@ -165,4 +166,3 @@ Pack file entry: <+
From:
https://www.kernel.org/pub/software/scm/git/docs/v1.7.5/technical/pack-protocol.txt
*/
-package packfile
diff --git a/formats/pktline/doc.go b/formats/pktline/doc.go
index 555a073..1e14ec0 100644
--- a/formats/pktline/doc.go
+++ b/formats/pktline/doc.go
@@ -1,3 +1,4 @@
+// Package pktline implements a encoder/decoder of pkt-line format
package pktline
// pkt-line Format