aboutsummaryrefslogtreecommitdiffstats
path: root/storage/memory/storage.go
diff options
context:
space:
mode:
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 5049036..2d1a4b6 100644
--- a/storage/memory/storage.go
+++ b/storage/memory/storage.go
@@ -173,8 +173,8 @@ func (o *ObjectStorage) ForEachObjectHash(fun func(plumbing.Hash) error) error {
func (o *ObjectStorage) ObjectPacks() ([]plumbing.Hash, error) {
return nil, nil
}
-func (o *ObjectStorage) DeleteObjectPackAndIndex(plumbing.Hash) error {
- return errNotSupported
+func (o *ObjectStorage) DeleteOldObjectPackAndIndex(plumbing.Hash, time.Time) error {
+ return nil
}
var errNotSupported = fmt.Errorf("Not supported")