aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/storage.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-01-28 16:26:14 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-01-28 16:26:14 +0100
commit9a9f2b1f63a98fad67a3190ef813428b68dfdd8c (patch)
treec7266ab8a010d551670d9f6356294c09ffa9f7fb /storage/filesystem/storage.go
parent24c1878260351d9f9f6c575cbeeb5878104d6a0e (diff)
downloadgo-git-9a9f2b1f63a98fad67a3190ef813428b68dfdd8c.tar.gz
storage: IndexStorer implementation
Diffstat (limited to 'storage/filesystem/storage.go')
-rw-r--r--storage/filesystem/storage.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go
index a60d0f4..56f84b8 100644
--- a/storage/filesystem/storage.go
+++ b/storage/filesystem/storage.go
@@ -13,6 +13,7 @@ import (
type Storage struct {
ObjectStorage
ReferenceStorage
+ IndexStorage
ShallowStorage
ConfigStorage
}
@@ -28,6 +29,7 @@ func NewStorage(fs billy.Filesystem) (*Storage, error) {
return &Storage{
ObjectStorage: o,
ReferenceStorage: ReferenceStorage{dir: dir},
+ IndexStorage: IndexStorage{dir: dir},
ShallowStorage: ShallowStorage{dir: dir},
ConfigStorage: ConfigStorage{dir: dir},
}, nil