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

I've noticed a behavior difference between memfs and real os filesystem. Related issue: https://github.com/spf13/afero/issues/152 Related commit: https://github.com/spf13/afero/commit/ec3a3111d1e1bdff38a61e09d5a5f5e974905611 It says that returning io.ErrUnexpectedEOF is _"in line with how the OS File...

Can we impl the Sys() for memfs? Just simulate a set of data such as inode

Fix for issue https://github.com/spf13/afero/issues/388

golang.org//grpc versions =1.57.0 =1.58.0 The HTTP/2 protocol allows a denial of service (server resource consumption) because request cancellation can reset many streams quickly, as exploited in the wild in August...

The project is [not maintained](https://github.com/googleapis/google-cloud-go-testing) anymore, is there a chance to replace it with anything still supported? > # Testing Support for the Google Cloud Client Libraries for Go >...

Go 1.21 just dropped :) And with that, WASIp1 support :D However this package fails to compile: ```console $ GOOS=wasip1 GOARCH=wasm go build # github.com/spf13/afero ../../../../go/pkg/mod/github.com/spf13/[email protected]/const_win_unix.go:22:23: undefined: syscall.EBADFD ```

I get: ``` github.com/spf13/[email protected]/const_win_unix.go:22:23: undefined: syscall.EBADFD ``` Probably just needs the same thing that was done for zos.

I am using `1.9.5` when trying to remove a file such as `/tmp/test-973171232/testDir/test-129751122.test` using MemMapFS, I am getting a panic `panic: parent of /tmp/test-973171232/testDir/test-129751122.test is nil` coming from `unRegisterWithParent` (https://github.com/spf13/afero/blob/d92c300a1b6eaa1690b7aecab2ef7fd0d64a94e1/memmap.go#L72)....