fs

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OSFileSystem

type OSFileSystem struct{}

func (OSFileSystem) MkdirAll

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

func (OSFileSystem) OpenFile

func (OSFileSystem) OpenFile(path string, flag int, perm os.FileMode) (*os.File, error)

func (OSFileSystem) ReadDir

func (OSFileSystem) ReadDir(path string) ([]os.DirEntry, error)

func (OSFileSystem) ReadFile

func (OSFileSystem) ReadFile(path string) ([]byte, error)

func (OSFileSystem) Remove

func (OSFileSystem) Remove(path string) error

func (OSFileSystem) RemoveAll

func (OSFileSystem) RemoveAll(path string) error

func (OSFileSystem) Rename

func (OSFileSystem) Rename(oldpath, newpath string) error

func (OSFileSystem) Stat

func (OSFileSystem) Stat(path string) (os.FileInfo, error)

func (OSFileSystem) WriteFile

func (OSFileSystem) WriteFile(path 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