aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/storage.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2017-02-12 23:03:30 +0100
committerMáximo Cuadros <mcuadros@gmail.com>2017-02-12 23:03:30 +0100
commit498dbf7dc92e288641f1af1acc52704150e8a6c0 (patch)
tree7be1fab61a2eead003f07249c0312f71decaccf7 /storage/filesystem/storage.go
parent87a84b1cb90149cf81e76be46811341a30e4a367 (diff)
downloadgo-git-498dbf7dc92e288641f1af1acc52704150e8a6c0.tar.gz
storage: git.Storer move to storage.Storer and module handling
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 7021d3a..27dd07f 100644
--- a/storage/filesystem/storage.go
+++ b/storage/filesystem/storage.go
@@ -16,6 +16,7 @@ type Storage struct {
IndexStorage
ShallowStorage
ConfigStorage
+ ModuleStorage
}
// NewStorage returns a new Storage backed by a given `fs.Filesystem`
@@ -32,5 +33,6 @@ func NewStorage(fs billy.Filesystem) (*Storage, error) {
IndexStorage: IndexStorage{dir: dir},
ShallowStorage: ShallowStorage{dir: dir},
ConfigStorage: ConfigStorage{dir: dir},
+ ModuleStorage: ModuleStorage{dir: dir},
}, nil
}