diff options
Diffstat (limited to 'storage/memory/storage.go')
-rw-r--r-- | storage/memory/storage.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/storage/memory/storage.go b/storage/memory/storage.go index bfcad34..5049036 100644 --- a/storage/memory/storage.go +++ b/storage/memory/storage.go @@ -170,6 +170,13 @@ func (o *ObjectStorage) ForEachObjectHash(fun func(plumbing.Hash) error) error { return nil } +func (o *ObjectStorage) ObjectPacks() ([]plumbing.Hash, error) { + return nil, nil +} +func (o *ObjectStorage) DeleteObjectPackAndIndex(plumbing.Hash) error { + return errNotSupported +} + var errNotSupported = fmt.Errorf("Not supported") func (s *ObjectStorage) LooseObjectTime(hash plumbing.Hash) (time.Time, error) { |