diff options
author | Taru Karttunen <taruti@taruti.net> | 2017-11-15 18:33:41 +0200 |
---|---|---|
committer | Jeremy Stribling <strib@alum.mit.edu> | 2017-11-29 11:01:18 -0800 |
commit | fae438980c3e17cb04f84ce92b99cd3c835e3e18 (patch) | |
tree | 49897b1fef2644f332015a7d7f3333c3e6c935e8 /storage/memory/storage.go | |
parent | 3f0b1ff37b64108cfed1b57ea4ae1f1566592905 (diff) | |
download | go-git-fae438980c3e17cb04f84ce92b99cd3c835e3e18.tar.gz |
Support for repacking objects
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) { |