hackpadfs icon indicating copy to clipboard operation
hackpadfs copied to clipboard

An extensible file system abstraction for Go. File systems, composable interfaces, and test suites.

Results 13 hackpadfs issues
Sort by recently updated
recently updated
newest added

Fixes build against go1.19 js.Wrapper was removed: add it back as JSWrapper. https://github.com/golang/go/issues/50310 https://github.com/golang/go/commit/6c0daa733192031eab23d09ed6515c4cd959aa92#diff-38b359833111770b96ea3bb8bc5e2b807e18bdbb80684a397ce63ff05e6d02ecL31

I need the ability to mock out [os.Getwd](https://pkg.go.dev/os#Getwd). probably also `Chdir`.

I think it would be cool if the https://pkg.go.dev/embed package was supported. Tinygo just got support for EMbed as well as generics https://github.com/tinygo-org/tinygo/releases/tag/v0.24.0

hey @JohnStarich I was exploring how i can have a file cache. the idea if that the clients ( web or native) can make requests to S3, but the results...

Wondering if this is designed to provide an unified API for both Browser and Native ( mobile and desktop). I am attempting to use this with gioui.org. https://github.com/gioui I got...

See #21; this allows subdirectories made with `hackpadfs.Sub` to enable mutation.

When calling `hackpadfs.Sub`, any of the hackpadfs extensions become unavailable on the sub FS. (unless the FS implements SubFS) This is because it calls out to `fs.Sub`, which wraps it...

_First of all thanks for sharing this great project!_ While switching between `mem.FS` and `os.FS` for different use cases, I noticed that the value returned by `(*os.FS).Sub()` could not be...

Would you be open to accepting a PR adding context aware operations to hackpadfs, which fall back to non-context operations if the implementation doesn't support it? This is largely for...

Hey team, really been enjoying the library so far. If we could add compatibility with https://pkg.go.dev/testing/fstest#TestFS that would speed up testing.