Add Afero as vendored dependency
Despite being seemingly the most popular mockable FS library, Afero does not tag releases in git, and does not appear to have cut a release in about a year. Hence, the following considerations were taken into account when we vendored the dependency: * The commits since the last release (2015) appear to be almost entirely bug fixes. * In the case that we are calling to the OS's FS (rather than, say, a testable, memory-mapped FS), the Afero is a simple wrapper, and hence introduces little risk into the CLI tool. We verified this by looking at the actual source. * We opened issue #129 to attempt to nudge the committers into using stable software engineering practices (e.g., tagging your releases), and we will see how this issue evolves.
Showing
- vendor/github.com/spf13/afero/LICENSE.txt 174 additions, 0 deletionsvendor/github.com/spf13/afero/LICENSE.txt
- vendor/github.com/spf13/afero/README.md 449 additions, 0 deletionsvendor/github.com/spf13/afero/README.md
- vendor/github.com/spf13/afero/afero.go 108 additions, 0 deletionsvendor/github.com/spf13/afero/afero.go
- vendor/github.com/spf13/afero/appveyor.yml 15 additions, 0 deletionsvendor/github.com/spf13/afero/appveyor.yml
- vendor/github.com/spf13/afero/basepath.go 145 additions, 0 deletionsvendor/github.com/spf13/afero/basepath.go
- vendor/github.com/spf13/afero/cacheOnReadFs.go 295 additions, 0 deletionsvendor/github.com/spf13/afero/cacheOnReadFs.go
- vendor/github.com/spf13/afero/const_bsds.go 22 additions, 0 deletionsvendor/github.com/spf13/afero/const_bsds.go
- vendor/github.com/spf13/afero/const_win_unix.go 25 additions, 0 deletionsvendor/github.com/spf13/afero/const_win_unix.go
- vendor/github.com/spf13/afero/copyOnWriteFs.go 253 additions, 0 deletionsvendor/github.com/spf13/afero/copyOnWriteFs.go
- vendor/github.com/spf13/afero/httpFs.go 110 additions, 0 deletionsvendor/github.com/spf13/afero/httpFs.go
- vendor/github.com/spf13/afero/ioutil.go 230 additions, 0 deletionsvendor/github.com/spf13/afero/ioutil.go
- vendor/github.com/spf13/afero/mem/dir.go 37 additions, 0 deletionsvendor/github.com/spf13/afero/mem/dir.go
- vendor/github.com/spf13/afero/mem/dirmap.go 43 additions, 0 deletionsvendor/github.com/spf13/afero/mem/dirmap.go
- vendor/github.com/spf13/afero/mem/file.go 285 additions, 0 deletionsvendor/github.com/spf13/afero/mem/file.go
- vendor/github.com/spf13/afero/memmap.go 361 additions, 0 deletionsvendor/github.com/spf13/afero/memmap.go
- vendor/github.com/spf13/afero/memradix.go 14 additions, 0 deletionsvendor/github.com/spf13/afero/memradix.go
- vendor/github.com/spf13/afero/os.go 94 additions, 0 deletionsvendor/github.com/spf13/afero/os.go
- vendor/github.com/spf13/afero/path.go 108 additions, 0 deletionsvendor/github.com/spf13/afero/path.go
- vendor/github.com/spf13/afero/readonlyfs.go 70 additions, 0 deletionsvendor/github.com/spf13/afero/readonlyfs.go
- vendor/github.com/spf13/afero/regexpfs.go 214 additions, 0 deletionsvendor/github.com/spf13/afero/regexpfs.go
vendor/github.com/spf13/afero/LICENSE.txt
0 → 100644
vendor/github.com/spf13/afero/README.md
0 → 100644
vendor/github.com/spf13/afero/afero.go
0 → 100644
vendor/github.com/spf13/afero/appveyor.yml
0 → 100644
vendor/github.com/spf13/afero/basepath.go
0 → 100644
vendor/github.com/spf13/afero/const_bsds.go
0 → 100644
vendor/github.com/spf13/afero/httpFs.go
0 → 100644
vendor/github.com/spf13/afero/ioutil.go
0 → 100644
vendor/github.com/spf13/afero/mem/dir.go
0 → 100644
vendor/github.com/spf13/afero/mem/dirmap.go
0 → 100644
vendor/github.com/spf13/afero/mem/file.go
0 → 100644
vendor/github.com/spf13/afero/memmap.go
0 → 100644
vendor/github.com/spf13/afero/memradix.go
0 → 100644
vendor/github.com/spf13/afero/os.go
0 → 100644
vendor/github.com/spf13/afero/path.go
0 → 100644
vendor/github.com/spf13/afero/readonlyfs.go
0 → 100644
vendor/github.com/spf13/afero/regexpfs.go
0 → 100644
Please register or sign in to comment