aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/object.go
diff options
context:
space:
mode:
authorTaru Karttunen <taruti@taruti.net>2017-11-16 21:00:51 +0200
committerJeremy Stribling <strib@alum.mit.edu>2017-11-29 11:01:40 -0800
commitd96582a6fb7df092c2856f56decd33034fe0ade3 (patch)
treee9e0eacfa4bcea2f6aaa8017744ef51f0892eed8 /storage/filesystem/object.go
parentfae438980c3e17cb04f84ce92b99cd3c835e3e18 (diff)
downloadgo-git-d96582a6fb7df092c2856f56decd33034fe0ade3.tar.gz
Make object repacking more configurable
Diffstat (limited to 'storage/filesystem/object.go')
-rw-r--r--storage/filesystem/object.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/filesystem/object.go b/storage/filesystem/object.go
index f235204..13b8ddb 100644
--- a/storage/filesystem/object.go
+++ b/storage/filesystem/object.go
@@ -508,6 +508,6 @@ func (s *ObjectStorage) ObjectPacks() ([]plumbing.Hash, error) {
return s.dir.ObjectPacks()
}
-func (s *ObjectStorage) DeleteObjectPackAndIndex(h plumbing.Hash) error {
- return s.dir.DeleteObjectPackAndIndex(h)
+func (s *ObjectStorage) DeleteOldObjectPackAndIndex(h plumbing.Hash, t time.Time) error {
+ return s.dir.DeleteOldObjectPackAndIndex(h, t)
}