aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/reference.go
diff options
context:
space:
mode:
authorJon Eskin <eskinjp@gmail.com>2022-08-10 04:10:58 -0400
committerMáximo Cuadros <mcuadros@gmail.com>2022-09-22 10:08:02 +0200
commitaf1efaa7dfb2a33de9c15597dd2cc65ea626cf35 (patch)
tree285e2c2899441bd162028bee9ac7ad31cec2d17d /plumbing/reference.go
parentbc1f419cebcf7505db31149fa459e9e3f8260e00 (diff)
downloadgo-git-af1efaa7dfb2a33de9c15597dd2cc65ea626cf35.tar.gz
minor grammatical fixes
Diffstat (limited to 'plumbing/reference.go')
-rw-r--r--plumbing/reference.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/plumbing/reference.go b/plumbing/reference.go
index 08e908f..deb5067 100644
--- a/plumbing/reference.go
+++ b/plumbing/reference.go
@@ -168,22 +168,22 @@ func NewHashReference(n ReferenceName, h Hash) *Reference {
}
}
-// Type return the type of a reference
+// Type returns the type of a reference
func (r *Reference) Type() ReferenceType {
return r.t
}
-// Name return the name of a reference
+// Name returns the name of a reference
func (r *Reference) Name() ReferenceName {
return r.n
}
-// Hash return the hash of a hash reference
+// Hash returns the hash of a hash reference
func (r *Reference) Hash() Hash {
return r.h
}
-// Target return the target of a symbolic reference
+// Target returns the target of a symbolic reference
func (r *Reference) Target() ReferenceName {
return r.target
}