afero
afero copied to clipboard
A FileSystem Abstraction System for Go
Hey guys, new to afero and semi-new to embed.FS (used embed a bit, but unaware if embed is not-recommended or whatever). I like the idea behind go:embed. In specific, I'm...
`golang.org/x/crypto v0.0.0-20211108221036-ceb1ce70b4fa` has high severity vulnerability, please consider bumping at least to `0.0.0-20220314234659-1baeb1ce4c0b` CVE info: https://avd.aquasec.com/nvd/2022/cve-2022-27191/
Workaround for https://github.com/spf13/afero/issues/373 Adds an option to have MemMapFS fail when creating a file in a directory that DNE.
I intended to use MemMapFS to fully test my filesystem access in an application, but accidentally introduced a bug where I was writing to a file before creating the directory....
This allows downstream users to act on file ownership. (A previous version added `mem.GetUID()`/`mem.GetGID()` methods, which didn't prove fruitful.)
While golang's built-in `regexp` package has the advantage, [constant time guarantees](https://golang.org/pkg/regexp/), it (RE2) has some limitations to express complex rules compared to other languages (PCRE2). (For example, it does not...
Is it possible to unzip an archive that has been written to the afero fs? All my services are using the afero.Fs interface for IO. I have a Downloader that...
fix for issue [#141](https://github.com/spf13/afero/issues/141) Please check it. This bug needs to be fixed.
When I rename a directory with MemMapFS, the files within it don't get moved. I _think_ the files within should also move to the new directory name (as in the...
Fix for mkdir in concurrency. Related issue https://github.com/spf13/afero/issues/361 .