Skip to content

Commit

Permalink
plumbing/storer/object: improve grammar Go Doc (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
crhntr committed Jul 23, 2021
1 parent b4368b2 commit 4ec1753
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions plumbing/storer/object.go
Expand Up @@ -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
Expand Down Expand Up @@ -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
//
Expand Down

0 comments on commit 4ec1753

Please sign in to comment.