filesystem

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FS

type FS struct{}

FS implement core.FS.

func New

func New() *FS

New returns new instance default filesystem.

func (*FS) Mkdir

func (F *FS) Mkdir(path string) error

Mkdir for implements core.FS.

func (*FS) Open

func (F *FS) Open(name string) (fs.File, error)

Open for implements core.FS.

func (*FS) SaveFile

func (F *FS) SaveFile(path string, buf []byte) error

SaveFile for implements core.FS.

func (*FS) Walk

func (F *FS) Walk(path string, cb func(string, fs.FileInfo) error) error

Walk for implements core.FS.

Jump to

Keyboard shortcuts

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