fileUtils

package
v0.0.0-...-03e3f80 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSepIfNeeded

func AddSepIfNeeded(pth string) string

func FileExist

func FileExist(path string) bool

func GetAbsolutePath

func GetAbsolutePath(pth string) string

func IsAbsolutePath

func IsAbsolutePath(pth string) bool

func MkDirIfNeeded

func MkDirIfNeeded(dir string) error

func ReadFile

func ReadFile(filePath string) string

func ReadFileBuf

func ReadFileBuf(filePath string) []byte

func RemoveBlankLine

func RemoveBlankLine(str string) string

func RmDir

func RmDir(dir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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