Registry / utility / twpayne-go-vfs

twpayne-go-vfs

JSON →
library1.7.2gogounverified

Abstraction of the os and ioutil packages for easier testing.

go get github.com/twpayne/go-vfs
INSTALL
IMPORT
SIG · TWPAYNE-GO-VFS
T
twpayne-go-vfs
utilitygov1.7.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

vfs
github.com/twpayne/go-vfs

Use an in-memory filesystem for testing.

package main import ( "github.com/twpayne/go-vfs" ) func main() { fs := vfs.NewMemMapFS() fs.WriteFile("/test.txt", []byte("hello"), 0644) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.7.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
twpayne-go-vfs — go get twpayne-go-vfs · libregistry