fileutil

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DirPerm  = 0o755
	FilePerm = 0o644
)

Variables

This section is empty.

Functions

func AppendFile

func AppendFile(path string, content string) error

func AppendNewline

func AppendNewline(content string) string

func DoesDirExist

func DoesDirExist(path string) bool

func DoesFileExist

func DoesFileExist(fileName string) bool

func RemoveDir

func RemoveDir(dirPath string) error

func RemoveFile

func RemoveFile(filePath string) error

func RunCmd

func RunCmd(dir string, name string, args ...string) error

func WriteFile

func WriteFile(path string, content 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