fileutils

package
v0.0.0-...-ce9bd75 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileSystem

type FileSystem interface {
	Getwd() (string, error)
	ReadDir(name string) ([]fs.DirEntry, error)
	FileExist(name string) bool
}

type OSFileSystem

type OSFileSystem struct{}

func (*OSFileSystem) FileExist

func (fs *OSFileSystem) FileExist(name string) bool

func (*OSFileSystem) Getwd

func (fs *OSFileSystem) Getwd() (string, error)

func (*OSFileSystem) ReadDir

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

Jump to

Keyboard shortcuts

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