fileutil

package
v2.0.0-alpha.21 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 5 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileManager

type FileManager interface {
	Open(path string) (*os.File, error)
	OpenReaderIfExists(path string) (io.Reader, error)
	ReadDirEntryNames(path string) ([]string, error)
	Remove(path string) error
	RemoveAll(path string) error
	Write(path string, value string, perm os.FileMode) error
	WriteBytes(path string, value []byte) error
}

FileManager ...

func NewFileManager

func NewFileManager() FileManager

NewFileManager ...

Jump to

Keyboard shortcuts

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