go-billy icon indicating copy to clipboard operation
go-billy copied to clipboard

The missing interface filesystem abstraction for Go

Results 28 go-billy issues
Sort by recently updated
recently updated
newest added

Hi, Could you issue a new release to include the latest commits (walk code) that didn't make it in the last one? Thanks. Eric

See #23 That PR also updates to Go 1.18.

As raised in #3, right now this project can't be used without Go modules because of the presence of these [import comments](https://pkg.go.dev/cmd/go#hdr-Import_path_checking), in contrast with what is described in the...

Implements the http.FileSystem interfaces. This allows using http.FileServer with a BillyFS.

This PR adds `billy.Stat` function that returns `os.FileInfo` by calling `Stat` on `billy.File` underlying type using optional interface pattern.

How does this library relate to the [`io/fs` draft](https://golang.org/s/draft-iofs-design) which has been accepted recently and will be [a part of go 1.16](https://tip.golang.org/pkg/io/fs/), which is scheduled to be released in February?...

This project includes in source an Apache-2.0 license text, with appendix changed to list the actual copyright holders of this project. Please don't do that. Instead, please do as instructed...

Even though, `Readdir` is not needed within go-git.

currently you'll get an error when you try to read from a file which was opened using a mode like O_RDONLY | O_CREATE, because the check for "is this file...