aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/transport')
-rw-r--r--plumbing/transport/server/loader.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/transport/server/loader.go b/plumbing/transport/server/loader.go
index 55bcf1d..7b5770b 100644
--- a/plumbing/transport/server/loader.go
+++ b/plumbing/transport/server/loader.go
@@ -6,11 +6,11 @@ import (
"gopkg.in/src-d/go-git.v4/storage/filesystem"
"srcd.works/go-billy.v1"
- "srcd.works/go-billy.v1/os"
+ "srcd.works/go-billy.v1/osfs"
)
// DefaultLoader is a filesystem loader ignoring host and resolving paths to /.
-var DefaultLoader = NewFilesystemLoader(os.New("/"))
+var DefaultLoader = NewFilesystemLoader(osfs.New("/"))
// Loader loads repository's storer.Storer based on an optional host and a path.
type Loader interface {