filefacade

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2026 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RealFileSystem

type RealFileSystem struct{}

RealFileSystem implements FileSystem using the os and filepath packages

func (RealFileSystem) DirFS added in v0.8.0

func (RealFileSystem) DirFS(path string) fs.FS
func (RealFileSystem) EvalSymlinks(path string) (string, error)

func (RealFileSystem) Glob added in v0.8.0

func (RealFileSystem) Glob(fileSystem fs.FS, pattern string) ([]string, error)

func (RealFileSystem) MkdirAll added in v0.8.0

func (RealFileSystem) MkdirAll(path string, perm os.FileMode) error

func (RealFileSystem) MkdirTemp added in v0.8.0

func (RealFileSystem) MkdirTemp(dir string, pattern string) (string, error)

func (RealFileSystem) ReadFile added in v0.8.0

func (RealFileSystem) ReadFile(fileSystem fs.FS, name string) ([]byte, error)

func (RealFileSystem) Stat

func (RealFileSystem) Stat(name string) (os.FileInfo, error)

func (RealFileSystem) WriteFile added in v0.8.0

func (RealFileSystem) WriteFile(name string, data []byte, perm os.FileMode) error

Jump to

Keyboard shortcuts

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