aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer/shallow.go
diff options
context:
space:
mode:
authorAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-02-23 17:07:08 +0100
committerAntonio Jesus Navarro Perez <antonio@sourced.tech>2017-02-23 17:14:43 +0100
commit059a0be78399cdb0648bd514c5b179819d84403d (patch)
tree007fea2e8529b865b354b45c8aed9045e136d462 /plumbing/storer/shallow.go
parentb5da4e98571b02dc106de4f9b2cb2a298489f1b1 (diff)
downloadgo-git-059a0be78399cdb0648bd514c5b179819d84403d.tar.gz
plumbing: improve documentation (Fix #242)
Diffstat (limited to 'plumbing/storer/shallow.go')
-rw-r--r--plumbing/storer/shallow.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/storer/shallow.go b/plumbing/storer/shallow.go
index f93060d..a38e751 100644
--- a/plumbing/storer/shallow.go
+++ b/plumbing/storer/shallow.go
@@ -2,8 +2,8 @@ package storer
import "srcd.works/go-git.v4/plumbing"
-// ShallowStorer storage of references to shallow commits by hash, meaning that
-// these commits have missing parents because of a shallow fetch.
+// ShallowStorer is a storage of references to shallow commits by hash,
+// meaning that these commits have missing parents because of a shallow fetch.
type ShallowStorer interface {
SetShallow([]plumbing.Hash) error
Shallow() ([]plumbing.Hash, error)