Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 6e192e8

Browse files
committed
rename billy imports
1 parent de0c29f commit 6e192e8

File tree

16 files changed

+39
-472
lines changed

16 files changed

+39
-472
lines changed

common_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ import (
1414
"gopkg.in/src-d/go-git.v4/storage/memory"
1515

1616
. "gopkg.in/check.v1"
17-
memoryfs "srcd.works/go-billy.v1/memory"
18-
"srcd.works/go-billy.v1/os"
17+
"srcd.works/go-billy.v1/memfs"
18+
"srcd.works/go-billy.v1/osfs"
1919
)
2020

2121
func Test(t *testing.T) { TestingT(t) }
@@ -49,7 +49,7 @@ func (s *BaseSuite) buildBasicRepository(c *C) {
4949
}
5050

5151
func (s *BaseSuite) NewRepository(f *fixtures.Fixture) *Repository {
52-
fs := os.New(f.DotGit().Base())
52+
fs := osfs.New(f.DotGit().Base())
5353
st, err := filesystem.NewStorage(fs)
5454
if err != nil {
5555
panic(err)
@@ -86,7 +86,7 @@ func (s *BaseSuite) NewRepositoryFromPackfile(f *fixtures.Fixture) *Repository {
8686

8787
storer.SetReference(plumbing.NewHashReference(plumbing.HEAD, f.Head))
8888

89-
r, err := Open(storer, memoryfs.New())
89+
r, err := Open(storer, memfs.New())
9090
if err != nil {
9191
panic(err)
9292
}

config/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Package config storage is the implementation of git config for go-git
1+
// Package config contains the abstraction of config files
22
package config
33

44
import (

examples/common_test.go

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,7 @@ var args = map[string][]string{
2424
"push": []string{setEmptyRemote(cloneRepository(defaultURL, tempFolder()))},
2525
}
2626

27-
var ignored = map[string]bool{
28-
"storage": true,
29-
}
27+
var ignored = map[string]bool{}
3028

3129
var tempFolders = []string{}
3230

0 commit comments

Comments
 (0)