Skip to content

Commit 84be677

Browse files
committed
Bump module to v6
In preparation to the v6 release, bump the module so that consumers are not surprised by API changes when consuming version from main. However, until the first v6 version is cut the API is subject to changes. Signed-off-by: Paulo Gomes <[email protected]>
1 parent 18f8786 commit 84be677

39 files changed

+79
-79
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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/v5) [![Test](https://github.com/go-git/go-billy/workflows/Test/badge.svg)](https://github.com/go-git/go-billy/actions?query=workflow%3ATest)
1+
# go-billy [![GoDoc](https://godoc.org/gopkg.in/go-git/go-billy.v6?status.svg)](https://pkg.go.dev/github.com/go-git/go-billy/v6) [![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.
@@ -8,14 +8,14 @@ Billy was born as part of [go-git/go-git](https://github.com/go-git/go-git) proj
88
## Installation
99

1010
```go
11-
import "github.com/go-git/go-billy/v5" // with go modules enabled (GO111MODULE=on or outside GOPATH)
11+
import "github.com/go-git/go-billy/v6" // with go modules enabled (GO111MODULE=on or outside GOPATH)
1212
import "github.com/go-git/go-billy" // with go modules disabled
1313
```
1414

1515
## Usage
1616

1717
Billy exposes filesystems using the
18-
[`Filesystem` interface](https://pkg.go.dev/github.com/go-git/go-billy/v5?tab=doc#Filesystem).
18+
[`Filesystem` interface](https://pkg.go.dev/github.com/go-git/go-billy/v6?tab=doc#Filesystem).
1919
Each filesystem implementation gives you a `New` method, whose arguments depend on
2020
the implementation itself, that returns a new `Filesystem`.
2121

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-
. "github.com/go-git/go-billy/v5"
7-
"github.com/go-git/go-billy/v5/internal/test"
6+
. "github.com/go-git/go-billy/v6"
7+
"github.com/go-git/go-billy/v6/internal/test"
88
"github.com/stretchr/testify/assert"
99
)
1010

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/go-git/go-billy/v5
1+
module github.com/go-git/go-billy/v6
22

33
// go-git supports the last 3 stable Go versions.
44
go 1.21

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-
"github.com/go-git/go-billy/v5"
9-
"github.com/go-git/go-billy/v5/helper/polyfill"
8+
"github.com/go-git/go-billy/v6"
9+
"github.com/go-git/go-billy/v6/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-
"github.com/go-git/go-billy/v5"
9-
"github.com/go-git/go-billy/v5/internal/test"
8+
"github.com/go-git/go-billy/v6"
9+
"github.com/go-git/go-billy/v6/internal/test"
1010
"github.com/stretchr/testify/assert"
1111
)
1212

helper/iofs/iofs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ import (
77
"io/fs"
88
"path/filepath"
99

10-
billyfs "github.com/go-git/go-billy/v5"
11-
"github.com/go-git/go-billy/v5/helper/polyfill"
10+
billyfs "github.com/go-git/go-billy/v6"
11+
"github.com/go-git/go-billy/v6/helper/polyfill"
1212
)
1313

1414
// Wrap adapts a billy.Filesystem to a io.fs.FS.

helper/iofs/iofs_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ import (
99
"testing"
1010
"testing/fstest"
1111

12-
billyfs "github.com/go-git/go-billy/v5"
13-
"github.com/go-git/go-billy/v5/memfs"
12+
billyfs "github.com/go-git/go-billy/v6"
13+
"github.com/go-git/go-billy/v6/memfs"
1414
)
1515

1616
type errorList interface {

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-
"github.com/go-git/go-billy/v5"
12-
"github.com/go-git/go-billy/v5/helper/polyfill"
11+
"github.com/go-git/go-billy/v6"
12+
"github.com/go-git/go-billy/v6/helper/polyfill"
1313
)
1414

1515
var separator = string(filepath.Separator)

helper/mount/mount_test.go

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

8-
"github.com/go-git/go-billy/v5"
9-
"github.com/go-git/go-billy/v5/internal/test"
10-
"github.com/go-git/go-billy/v5/memfs"
11-
"github.com/go-git/go-billy/v5/util"
8+
"github.com/go-git/go-billy/v6"
9+
"github.com/go-git/go-billy/v6/internal/test"
10+
"github.com/go-git/go-billy/v6/memfs"
11+
"github.com/go-git/go-billy/v6/util"
1212
"github.com/stretchr/testify/assert"
1313
)
1414

helper/polyfill/polyfill.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"os"
55
"path/filepath"
66

7-
"github.com/go-git/go-billy/v5"
7+
"github.com/go-git/go-billy/v6"
88
)
99

1010
// Polyfill is a helper that implements all missing method from billy.Filesystem.

0 commit comments

Comments
 (0)