files

package
v0.0.25 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsolateName

func IsolateName(file string) string

func ListFS added in v0.0.17

func ListFS(fsys fs.FS, root, glob string) ([]string, error)

func Split

func Split(file string) (dir string, name string, ext string)

Types

type SubdirectoryFS added in v0.0.17

type SubdirectoryFS struct {
	fs.FS
	Subdirectory string
}

func NewSubdirectoryFS added in v0.0.17

func NewSubdirectoryFS(src fs.FS, subDir string) *SubdirectoryFS

func (SubdirectoryFS) Open added in v0.0.17

func (s SubdirectoryFS) Open(name string) (fs.File, error)

Jump to

Keyboard shortcuts

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