Registry / utility / hairyhenderson-go-fsimpl

hairyhenderson-go-fsimpl

JSON →
library0.4.2gogounverified

Package fsimpl provides read-only fs.FS implementations for various local and remote back-ends, along with a lookup function for mapping URL schemes to matching filesystems.

go get github.com/hairyhenderson/go-fsimpl
INSTALL
IMPORT
SIG · HAIRYHENDERSON-GO-
H
hairyhenderson-go-fsimpl
utilitygov0.4.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.

fsimpl
github.com/hairyhenderson/go-fsimpl

Minimal example showing how to use fsimpl to open a filesystem from a URL.

package main import ( "fmt" "io/fs" "github.com/hairyhenderson/go-fsimpl" ) func main() { fSys, err := fsimpl.Lookup("file:///tmp") if err != nil { panic(err) } entries, _ := fs.ReadDir(fSys, ".") for _, e := range entries { fmt.Println(e.Name()) } }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
hairyhenderson-go-fsimpl — go get hairyhenderson-go-fsimpl · libregistry