osfs

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 5 Imported by: 1

README

osfs

OS FileSystem (fs.FS) implementation

Supported interface

Supported OS

  • Linux
  • macOS

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSFS

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

func New

func New() *OSFS

func (*OSFS) Open

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

func (*OSFS) Sub

func (fsys *OSFS) Sub(dir string) (fs.FS, error)

Jump to

Keyboard shortcuts

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