Skip to content

Commit 205ba65

Browse files
committed
*: rename project to src-d/go-billy to go-git/go-billy/v5
1 parent 24ded68 commit 205ba65

30 files changed

+70
-114
lines changed

DCO

Lines changed: 0 additions & 25 deletions
This file was deleted.

MAINTAINERS

Lines changed: 0 additions & 1 deletion
This file was deleted.

Makefile

Lines changed: 0 additions & 25 deletions
This file was deleted.

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,21 @@
1-
# go-billy [![GoDoc](https://godoc.org/gopkg.in/src-d/go-billy.v4?status.svg)](https://godoc.org/gopkg.in/src-d/go-billy.v4) [![Build Status](https://travis-ci.com/src-d/go-billy.svg)](https://travis-ci.com/src-d/go-billy) [![Build status](https://ci.appveyor.com/api/projects/status/vx2qn6vlakbi724t?svg=true)](https://ci.appveyor.com/project/mcuadros/go-billy) [![codecov](https://codecov.io/gh/src-d/go-billy/branch/master/graph/badge.svg)](https://codecov.io/gh/src-d/go-billy)
1+
# go-billy [![GoDoc](https://godoc.org/gopkg.in/go-git/go-billy.v5?status.svg)](https://pkg.go.dev/github.com/go-git/go-billy) [![Test](https://github.com/go-git/go-billy/workflows/Test/badge.svg)](https://github.com/go-git/go-billy/actions?query=workflow%3ATest)
22

33
The missing interface filesystem abstraction for Go.
44
Billy implements an interface based on the `os` standard library, allowing to develop applications without dependency on the underlying storage. Makes it virtually free to implement mocks and testing over filesystem operations.
55

6-
Billy was born as part of [src-d/go-git](https://github.com/src-d/go-git) project.
6+
Billy was born as part of [go-git/go-git](https://github.com/go-git/go-git) project.
77

88
## Installation
99

1010
```go
11-
go get -u gopkg.in/src-d/go-billy.v4/...
11+
import "github.com/go-git/go-billy/v5" // with go modules enabled (GO111MODULE=on or outside GOPATH)
12+
import "github.com/go-git/go-billy" // with go modules disabled
1213
```
1314

1415
## Usage
1516

1617
Billy exposes filesystems using the
17-
[`Filesystem` interface](https://godoc.org/github.com/src-d/go-billy#Filesystem).
18+
[`Filesystem` interface](https://pkg.go.dev/github.com/go-git/go-billy/v5?tab=doc#Filesystem).
1819
Each filesystem implementation gives you a `New` method, whose arguments depend on
1920
the implementation itself, that returns a new `Filesystem`.
2021

fs_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package billy_test
33
import (
44
"testing"
55

6-
. "gopkg.in/src-d/go-billy.v4"
7-
"gopkg.in/src-d/go-billy.v4/test"
6+
. "github.com/go-git/go-billy/v5"
7+
"github.com/go-git/go-billy/v5/test"
88

99
. "gopkg.in/check.v1"
1010
)

go.mod

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
module gopkg.in/src-d/go-billy.v4
1+
module github.com/go-git/go-billy/v5
22

33
require (
4-
github.com/kr/pretty v0.1.0 // indirect
5-
golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e
6-
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127
4+
github.com/kr/text v0.2.0 // indirect
5+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
6+
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527
7+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f
78
)
89

910
go 1.13

go.sum

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,14 @@
1-
github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
2-
github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
1+
github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
2+
github.com/go-git/go-billy v1.0.0 h1:bXR6Zu3opPSg0R4dDxqaLglY4rxw7ja7wS16qSpOKL4=
3+
github.com/go-git/go-billy v3.1.0+incompatible h1:dwrJ8G2Jt1srYgIJs+lRjA36qBY68O2Lg5idKG8ef5M=
34
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
45
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
56
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
6-
golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e h1:D5TXcfTk7xF7hvieo4QErS3qqCB4teTffacDWr7CI+0=
7-
golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
8-
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
9-
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
7+
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
8+
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
9+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
10+
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
11+
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527 h1:uYVVQ9WP/Ds2ROhcaGPeIdVq0RIXVLwsHlnvJ+cT1So=
12+
golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
13+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f h1:BLraFXnmrev5lT+xlilqcH8XK9/i0At2xKjWk4p6zsU=
14+
gopkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

helper/chroot/chroot.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"path/filepath"
66
"strings"
77

8-
"gopkg.in/src-d/go-billy.v4"
9-
"gopkg.in/src-d/go-billy.v4/helper/polyfill"
8+
"github.com/go-git/go-billy/v5"
9+
"github.com/go-git/go-billy/v5/helper/polyfill"
1010
)
1111

1212
// ChrootHelper is a helper to implement billy.Chroot.

helper/chroot/chroot_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ import (
55
"path/filepath"
66
"testing"
77

8-
"gopkg.in/src-d/go-billy.v4"
9-
"gopkg.in/src-d/go-billy.v4/test"
8+
"github.com/go-git/go-billy/v5"
9+
"github.com/go-git/go-billy/v5/test"
1010

1111
. "gopkg.in/check.v1"
1212
)

helper/mount/mount.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
"fmt"
1010

11-
"gopkg.in/src-d/go-billy.v4"
12-
"gopkg.in/src-d/go-billy.v4/helper/polyfill"
11+
"github.com/go-git/go-billy/v5"
12+
"github.com/go-git/go-billy/v5/helper/polyfill"
1313
)
1414

1515
var separator = string(filepath.Separator)

0 commit comments

Comments
 (0)