files

package
v0.0.0-...-f5e38d5 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileFS

type FileFS struct {
	// contains filtered or unexported fields
}

func NewFileFS

func NewFileFS(path string) *FileFS

func (*FileFS) Open

func (fs *FileFS) Open(name string) (fs.File, error)

func (*FileFS) ReadFile

func (fs *FileFS) ReadFile(name string) ([]byte, error)

type VpkFS

type VpkFS struct {
	// contains filtered or unexported fields
}

func NewVpkFS

func NewVpkFS(paths ...string) *VpkFS

func (*VpkFS) Open

func (fs *VpkFS) Open(name string) (fs.File, error)

func (*VpkFS) ReadFile

func (fs *VpkFS) ReadFile(path string) ([]byte, error)

Jump to

Keyboard shortcuts

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