vfs

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 27, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map(files map[string]string) vfs.FileSystem

Map the files to a filesystem

func Walk

func Walk(fs vfs.FileSystem, walkFn filepath.WalkFunc) error

Walk fn TODO: not a big deal, but it'd be better to transition to vfs.FileSystem

func Write

func Write(fs vfs.FileSystem, dir string) error

Write the filesystem to disk

Types

type FileSystem

type FileSystem = vfs.FileSystem

FileSystem alias

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL