osfs

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OsFS

type OsFS struct{}

OsFS implement the fs.FS interface for the host OS filesystem.

func (OsFS) Glob

func (OsFS) Glob(pattern string) ([]string, error)

func (OsFS) Open

func (OsFS) Open(name string) (fs.File, error)

func (OsFS) ReadDir

func (OsFS) ReadDir(name string) ([]fs.DirEntry, error)

func (OsFS) ReadFile

func (OsFS) ReadFile(name string) ([]byte, error)

func (OsFS) Stat

func (OsFS) Stat(name string) (fs.FileInfo, error)

Jump to

Keyboard shortcuts

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