Documentation ¶ Index ¶ type OsFS func (OsFS) Glob(pattern string) ([]string, error) func (OsFS) Open(name string) (fs.File, error) func (OsFS) ReadDir(name string) ([]fs.DirEntry, error) func (OsFS) ReadFile(name string) ([]byte, error) func (OsFS) Stat(name string) (fs.FileInfo, error) 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) Source Files ¶ View all Source files osfs.go Click to show internal directories. Click to hide internal directories.