diff options
author | Miguel Molina <miguel@erizocosmi.co> | 2018-06-08 12:31:15 +0200 |
---|---|---|
committer | Miguel Molina <miguel@erizocosmi.co> | 2018-06-08 14:31:01 +0200 |
commit | ecd2bd553ce223252d9784572fd47bd9f597618e (patch) | |
tree | 88fa5da0c9fe6c01860d0cda8850db33d7c0078e /storage/filesystem/storage.go | |
parent | b23570073eaee3489e5e3d666f22ba5cbeb53243 (diff) | |
download | go-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.go | 2 |
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 } |