aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/storer
diff options
context:
space:
mode:
authorChristopher Hunter <hunter.christopher@icloud.com>2021-07-23 16:32:40 -0700
committerGitHub <noreply@github.com>2021-07-24 01:32:40 +0200
commit4ec1753b4e9324d455d3b55060020ce324e6ced2 (patch)
tree880d7ef7be364929339f8004aa5ac11737343a07 /plumbing/storer
parentb4368b2a2ca4103b1ff4e37c34a963127342747e (diff)
downloadgo-git-4ec1753b4e9324d455d3b55060020ce324e6ced2.tar.gz
plumbing/storer/object: improve grammar Go Doc (#350)
Diffstat (limited to 'plumbing/storer')
-rw-r--r--plumbing/storer/object.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/plumbing/storer/object.go b/plumbing/storer/object.go
index dfe309d..d8a9c27 100644
--- a/plumbing/storer/object.go
+++ b/plumbing/storer/object.go
@@ -52,8 +52,8 @@ type DeltaObjectStorer interface {
DeltaObject(plumbing.ObjectType, plumbing.Hash) (plumbing.EncodedObject, error)
}
-// Transactioner is a optional method for ObjectStorer, it enable transaction
-// base write and read operations in the storage
+// Transactioner is a optional method for ObjectStorer, it enables transactional read and write
+// operations.
type Transactioner interface {
// Begin starts a transaction.
Begin() Transaction
@@ -87,8 +87,8 @@ type PackedObjectStorer interface {
DeleteOldObjectPackAndIndex(plumbing.Hash, time.Time) error
}
-// PackfileWriter is a optional method for ObjectStorer, it enable direct write
-// of packfile to the storage
+// PackfileWriter is an optional method for ObjectStorer, it enables directly writing
+// a packfile to storage.
type PackfileWriter interface {
// PackfileWriter returns a writer for writing a packfile to the storage
//