fileManager

package
v0.0.0-...-54ce176 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FileInfo

func FileInfo(filepath string) (os.FileInfo, error)

func GetHomedir

func GetHomedir() string

func IsExists

func IsExists(path string) (bool, error)

func ReadFile

func ReadFile(filepath string) ([]byte, error)

func ReadFolder

func ReadFolder(folderPath string) ([]fs.FileInfo, error)

func ToLines

func ToLines(content []byte) []string

func WriteToFile

func WriteToFile(filepath string, content []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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