files

package
v0.0.0-...-75854ce Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinRunPath

func JoinRunPath(name string) string

Types

type FileSystem

type FileSystem interface {
	fs.FS

	// WriteFiles writes all the files in the embedded filesystem to the disk
	//
	// WriteFiles should return the number of files written even if an error occured
	WriteFiles(name string) (int, error)
}

func FS

func FS(fsys ReadFileDirFS, diskDir, replaceKey string) (FileSystem, error)

type ReadFileDirFS

type ReadFileDirFS interface {
	fs.ReadDirFS
	fs.ReadFileFS
}

Jump to

Keyboard shortcuts

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