afero icon indicating copy to clipboard operation
afero copied to clipboard

A FileSystem Abstraction System for Go

Results 146 afero issues
Sort by recently updated
recently updated
newest added

In the current implementation of Glob in afero, if the pattern is ill formed, it does not necessary fails. Glob will return an empty list and nil err, if the...

The code below creates the non-existing directory "nonexistingdir" for MemMapFs but returns an error for OsFs. Shouldn't the behavior be the same? ```go package main import ( "github.com/spf13/afero" "log" )...

can add githubfs? github repo as a filesystem

When trying to create a same folder concurrently, one Mkdir should return an error stating the path already exists. MemMapFS works a lot of the time as expected but sometimes...

Hi. I was checking whether it is possible to perform a painless migration of your project, on behalf of a farther improvements of the reflection API. I was able to...

Hi, as noted in https://github.com/spf13/afero/issues/292 I got another error when testing my [FAT filesystem](https://github.com/aligator/GoFAT) using the afero IOFS wrapper: When wrapping my fs with the wrapper, (after resolving the error...

golang execute in memory file ``` func TestExecMemFs(t *testing.T) { appFS := afero.NewMemMapFs() //.NewOsFs() execBytes := Files["rand"] name := "src/e" appFS.MkdirAll("src/a", 0755) afero.WriteFile(appFS, name, execBytes, 0755) cmd := exec.Command(name) out,...

Hello, Is it possible to execute a file loaded in NewMemMapFs() ? Would be great to execute a file embedded with packr and execute it from memory. Gr, Peter

Hello! In our infrastructure, we regularly refresh a config file and need to detect file changes in order to properly reload. I've been a regular user of afero.Fs and was...

I'd like a way to guarantee my data container does not exceed a certain size. I'm considering in-memory use cases, but this probably applies to others.