aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/storage.go
diff options
context:
space:
mode:
authorMiguel Molina <miguel@erizocosmi.co>2018-06-08 12:31:15 +0200
committerMiguel Molina <miguel@erizocosmi.co>2018-06-08 14:31:01 +0200
commitecd2bd553ce223252d9784572fd47bd9f597618e (patch)
tree88fa5da0c9fe6c01860d0cda8850db33d7c0078e /storage/filesystem/storage.go
parentb23570073eaee3489e5e3d666f22ba5cbeb53243 (diff)
downloadgo-git-ecd2bd553ce223252d9784572fd47bd9f597618e.tar.gz
storage: filesystem, make ObjectStorage constructor public
Signed-off-by: Miguel Molina <miguel@erizocosmi.co>
Diffstat (limited to 'storage/filesystem/storage.go')
-rw-r--r--storage/filesystem/storage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/filesystem/storage.go b/storage/filesystem/storage.go
index d7aa18b..622bb4a 100644
--- a/storage/filesystem/storage.go
+++ b/storage/filesystem/storage.go
@@ -25,7 +25,7 @@ type Storage struct {
// NewStorage returns a new Storage backed by a given `fs.Filesystem`
func NewStorage(fs billy.Filesystem) (*Storage, error) {
dir := dotgit.New(fs)
- o, err := newObjectStorage(dir)
+ o, err := NewObjectStorage(dir)
if err != nil {
return nil, err
}