src-d / go-billy

The missing interface filesystem abstraction for Go
https://godoc.org/gopkg.in/src-d/go-billy.v4
Apache License 2.0
199 stars 43 forks source link

Comparison with afero? #45

Closed progrium closed 6 years ago

progrium commented 6 years ago

I was working with go-git and saw it used this "billy.Filesystem" abstraction. I was surprised it wasn't afero. Is there much of a difference? I imagine I can write a simple wrapper that fixes any slight differences...

mcuadros commented 6 years ago

go-billy was part of the original code of go-git, at that time afero wasn't fulfillment our requirements. Nowadays functionality such as chroot or mount doesn't allow us to change to afero.