diff options
author | Oleg Kovalov <iamolegkovalov@gmail.com> | 2020-07-06 16:50:56 +0200 |
---|---|---|
committer | Oleg Kovalov <iamolegkovalov@gmail.com> | 2020-07-06 16:50:56 +0200 |
commit | d07f2fbd7f615707c5f8b4bde32d5824c4196411 (patch) | |
tree | 471dd4e02088750aeb4adfab85a3c74b5052c1fc /storage | |
parent | a9899594dfdde8bbfdf35fc7e8c2fc3ec5aa7fdb (diff) | |
download | go-git-d07f2fbd7f615707c5f8b4bde32d5824c4196411.tar.gz |
Use only one name for receiver
Diffstat (limited to 'storage')
-rw-r--r-- | storage/memory/storage.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go index fdf8fcf..a8e5669 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -195,10 +195,10 @@ func (o *ObjectStorage) DeleteOldObjectPackAndIndex(plumbing.Hash, time.Time) er var errNotSupported = fmt.Errorf("Not supported") -func (s *ObjectStorage) LooseObjectTime(hash plumbing.Hash) (time.Time, error) { +func (o *ObjectStorage) LooseObjectTime(hash plumbing.Hash) (time.Time, error) { return time.Time{}, errNotSupported } -func (s *ObjectStorage) DeleteLooseObject(plumbing.Hash) error { +func (o *ObjectStorage) DeleteLooseObject(plumbing.Hash) error { return errNotSupported } |