Registry / utility / mandelsoft-vfs

mandelsoft-vfs

JSON →
library0.4.4gogounverified

Package vfs provides a virtual filesystem interface and implementations for Go.

go get github.com/mandelsoft/vfs
INSTALL
IMPORT
SIG · MANDELSOFT-VFS
M
mandelsoft-vfs
utilitygov0.4.4
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/mandelsoft/vfs

Creates an in-memory filesystem and writes/reads a file.

package main import ( "fmt" "github.com/mandelsoft/vfs/pkg/memoryfs" ) func main() { fs := memoryfs.New() fs.WriteFile("/hello.txt", []byte("Hello, world!"), 0644) data, _ := fs.ReadFile("/hello.txt") fmt.Println(string(data)) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
mandelsoft-vfs — go get mandelsoft-vfs · libregistry