aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repository.go b/repository.go
index 4d6b4e3..2e2e57e 100644
--- a/repository.go
+++ b/repository.go
@@ -8,7 +8,7 @@ import (
"gopkg.in/src-d/go-git.v4/core"
"gopkg.in/src-d/go-git.v4/storage/filesystem"
"gopkg.in/src-d/go-git.v4/storage/memory"
- "gopkg.in/src-d/go-git.v4/utils/fs"
+ osfs "gopkg.in/src-d/go-git.v4/utils/fs/os"
)
var (
@@ -33,7 +33,7 @@ func NewMemoryRepository() *Repository {
// based on a fs.OS, if you want to use a custom one you need to use the function
// NewRepository and build you filesystem.Storage
func NewFilesystemRepository(path string) (*Repository, error) {
- s, err := filesystem.NewStorage(fs.NewOS(path))
+ s, err := filesystem.NewStorage(osfs.NewOS(path))
if err != nil {
return nil, err
}