diff options
author | Filip Navara <filip.navara@gmail.com> | 2019-05-07 10:49:39 +0200 |
---|---|---|
committer | Filip Navara <filip.navara@gmail.com> | 2019-05-07 10:49:39 +0200 |
commit | 7d2695741f4d1f572a36f7225b6bbb2f569d59d7 (patch) | |
tree | e794d037e57d13a816a162fe1c31ab6ce45d58c0 /plumbing/format/commitgraph/memory.go | |
parent | 940460f5422b02f01351396af703e9b63e8596ae (diff) | |
download | go-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/memory.go')
-rw-r--r-- | plumbing/format/commitgraph/memory.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plumbing/format/commitgraph/memory.go b/plumbing/format/commitgraph/memory.go index f084b85..a4a96e9 100644 --- a/plumbing/format/commitgraph/memory.go +++ b/plumbing/format/commitgraph/memory.go @@ -4,6 +4,8 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing"
)
+// MemoryIndex provides a way to build the commit-graph in memory
+// for later encoding to file.
type MemoryIndex struct {
commitData []*CommitData
indexMap map[plumbing.Hash]int
|