Skip to content

Commit

Permalink
Merge pull request #16 from smola/v2
Browse files Browse the repository at this point in the history
bump version to v2
  • Loading branch information
smola authored Mar 10, 2017
2 parents eb8e941 + 727da93 commit 0dfa3dd
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ matrix:
install:
- rm -rf $GOPATH/src/gopkg.in/src-d
- mkdir -p $GOPATH/src/gopkg.in/src-d
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-billy.v1
- cd $GOPATH/src/gopkg.in/src-d/go-billy.v1
- ln -s $PWD $GOPATH/src/gopkg.in/src-d/go-billy.v2
- cd $GOPATH/src/gopkg.in/src-d/go-billy.v2
- go get -v -t ./...

script:
- cd $GOPATH/src/gopkg.in/src-d/go-billy.v1
- cd $GOPATH/src/gopkg.in/src-d/go-billy.v2
- go test -v ./...
- make test-coverage

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# go-billy [![GoDoc](https://godoc.org/gopkg.in/src-d/go-billy.v1?status.svg)](https://godoc.org/gopkg.in/src-d/go-billy.v1) [![Build Status](https://travis-ci.org/src-d/go-billy.svg)](https://travis-ci.org/src-d/go-billy) [![codebeat badge](https://codebeat.co/badges/03bdec03-b477-4472-bbe3-b552e3799174)](https://codebeat.co/projects/github-com-src-d-go-billy)
# go-billy [![GoDoc](https://godoc.org/gopkg.in/src-d/go-billy.v2?status.svg)](https://godoc.org/gopkg.in/src-d/go-billy.v2) [![Build Status](https://travis-ci.org/src-d/go-billy.svg)](https://travis-ci.org/src-d/go-billy) [![codebeat badge](https://codebeat.co/badges/03bdec03-b477-4472-bbe3-b552e3799174)](https://codebeat.co/projects/github-com-src-d-go-billy)

An interface to abstract several storages.

Expand All @@ -8,7 +8,7 @@ This library was extracted from
## Installation

```go
go get -u gopkg.in/src-d/go-billy.v1/...
go get -u gopkg.in/src-d/go-billy.v2/...
```

## Why billy?
Expand Down
4 changes: 2 additions & 2 deletions memfs/memory.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Package memfs provides a billy filesystem base on memory.
package memfs // import "gopkg.in/src-d/go-billy.v1/memfs"
package memfs // import "gopkg.in/src-d/go-billy.v2/memfs"

import (
"errors"
Expand All @@ -11,7 +11,7 @@ import (
"strings"
"time"

"gopkg.in/src-d/go-billy.v1"
"gopkg.in/src-d/go-billy.v2"
)

const separator = '/'
Expand Down
2 changes: 1 addition & 1 deletion memfs/memory_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"testing"

. "gopkg.in/check.v1"
"gopkg.in/src-d/go-billy.v1/test"
"gopkg.in/src-d/go-billy.v2/test"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
4 changes: 2 additions & 2 deletions osfs/os.go
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// Package os provides a billy filesystem for the OS.
package osfs // import "gopkg.in/src-d/go-billy.v1/osfs"
package osfs // import "gopkg.in/src-d/go-billy.v2/osfs"

import (
"io/ioutil"
"os"
"path"
"path/filepath"

"gopkg.in/src-d/go-billy.v1"
"gopkg.in/src-d/go-billy.v2"
)

const (
Expand Down
2 changes: 1 addition & 1 deletion osfs/os_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"testing"

. "gopkg.in/check.v1"
"gopkg.in/src-d/go-billy.v1/test"
"gopkg.in/src-d/go-billy.v2/test"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down
2 changes: 1 addition & 1 deletion test/fs_suite.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
"testing"

. "gopkg.in/check.v1"
. "gopkg.in/src-d/go-billy.v1"
. "gopkg.in/src-d/go-billy.v2"
)

func Test(t *testing.T) { TestingT(t) }
Expand Down

0 comments on commit 0dfa3dd

Please sign in to comment.