aboutsummaryrefslogtreecommitdiffstats
path: root/storage/filesystem/storage.go
diff options
context:
space:
mode:
authorMáximo Cuadros <mcuadros@gmail.com>2018-06-11 10:21:14 +0200
committerGitHub <noreply@github.com>2018-06-11 10:21:14 +0200
commite7cf6d22593c8fcdd393b0da9d922c670b61a199 (patch)
tree88fa5da0c9fe6c01860d0cda8850db33d7c0078e /storage/filesystem/storage.go
parentb23570073eaee3489e5e3d666f22ba5cbeb53243 (diff)
parentecd2bd553ce223252d9784572fd47bd9f597618e (diff)
downloadgo-git-e7cf6d22593c8fcdd393b0da9d922c670b61a199.tar.gz
Merge pull request #857 from erizocosmico/feature/object-storage-public
storage: filesystem, make ObjectStorage constructor public
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
}