aboutsummaryrefslogtreecommitdiffstats
path: root/storage/memory/storage.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2020-07-10 06:15:38 +0200
committerGitHub <noreply@github.com>2020-07-10 06:15:38 +0200
commitee580ee459d4eac1c434203cc264523acfae724a (patch)
tree30b1e5f4788dd6732694494458c5f15a64ddfe66 /storage/memory/storage.go
parent13095f770a0ea9be1c103389269fad1d82c55468 (diff)
parentd07f2fbd7f615707c5f8b4bde32d5824c4196411 (diff)
downloadgo-git-ee580ee459d4eac1c434203cc264523acfae724a.tar.gz
Merge pull request #124 from cristaloleg/use-one-name-for-receiver
*: use only one name for receiver
Diffstat (limited to 'storage/memory/storage.go')
-rw-r--r--storage/memory/storage.go4
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
}