go-billy
go-billy copied to clipboard
The missing interface filesystem abstraction for Go
If you call `New()` on the `storage` objects from multiple goroutines at the same time, go runtime may error with `fatal error: concurrent map writes`. This happens because the `files`...
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.19.0 to 0.20.0. Commits 7d69d98 unix: extend support for z/OS 7758090 cpu: add support for sve2 detection 9a28524 windows: drop go version tags for unsupported versions 27dc90b...
Bumps [github.com/cyphar/filepath-securejoin](https://github.com/cyphar/filepath-securejoin) from 0.2.4 to 0.2.5. Release notes Sourced from github.com/cyphar/filepath-securejoin's releases. v0.2.5 This release makes some minor improvements to SecureJoin: Some changes were made to how lexical components are...
We're using `memfs` alongside `go-git` to perform a shallow clone of Git repositories. We'd like to be able to limit the data written to the `memfs` (other than heap memory...
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.11 to 3.26.13. Changelog Sourced from github/codeql-action's changelog. CodeQL Action Changelog See the releases page for the relevant changes to the CodeQL CLI and language packs. Note...
I was interested in atomic file writes using Billy interface, but I found that file.Sync method is not implemented. e.g. https://github.com/google/renameio/blob/master/tempfile.go#L150 https://github.com/tailscale/tailscale/blob/main/atomicfile/atomicfile.go#L44 https://github.com/natefinch/atomic/blob/master/atomic.go#L43 https://pkg.go.dev/os#File.Sync Can this be implemented or a...
I was wanting to call the equivalent of `os.RemoveAll(...)` on a [worktree's filesystem](https://pkg.go.dev/github.com/go-git/go-git/v5#Worktree) and ended up implementing support for it here and in `go-git` (the latter was a trivial change...
Fix the following issues: - After renaming, it adds an entry for each regular files in the _s.children_ map, which should actually only contain directories - Even worse, any child...