Skip to content

Commit 4ec1753

Browse files
authored
plumbing/storer/object: improve grammar Go Doc (go-git#350)
1 parent b4368b2 commit 4ec1753

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

plumbing/storer/object.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ type DeltaObjectStorer interface {
5252
DeltaObject(plumbing.ObjectType, plumbing.Hash) (plumbing.EncodedObject, error)
5353
}
5454

55-
// Transactioner is a optional method for ObjectStorer, it enable transaction
56-
// base write and read operations in the storage
55+
// Transactioner is a optional method for ObjectStorer, it enables transactional read and write
56+
// operations.
5757
type Transactioner interface {
5858
// Begin starts a transaction.
5959
Begin() Transaction
@@ -87,8 +87,8 @@ type PackedObjectStorer interface {
8787
DeleteOldObjectPackAndIndex(plumbing.Hash, time.Time) error
8888
}
8989

90-
// PackfileWriter is a optional method for ObjectStorer, it enable direct write
91-
// of packfile to the storage
90+
// PackfileWriter is an optional method for ObjectStorer, it enables directly writing
91+
// a packfile to storage.
9292
type PackfileWriter interface {
9393
// PackfileWriter returns a writer for writing a packfile to the storage
9494
//

0 commit comments

Comments
 (0)