fs

package
v1.2.10 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TempFS

type TempFS struct {
	afero.Fs
	// contains filtered or unexported fields
}

func NewTempFS

func NewTempFS(dir, pattern string) (*TempFS, error)

func (*TempFS) Close

func (t *TempFS) Close() error

func (TempFS) List

func (t TempFS) List() []string

func (*TempFS) Open

func (t *TempFS) Open(filename string) (fs.File, error)

func (*TempFS) OpenFile

func (t *TempFS) OpenFile(filename string, flag int, perm os.FileMode) (afero.File, error)

Jump to

Keyboard shortcuts

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