fileutil

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2021 License: MIT Imports: 4 Imported by: 123

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyFile

func CopyFile(srcFilePath string, dstFilePath string) error

CopyFile copy src file to dest file

func CreateFile

func CreateFile(path string) bool

CreateFile create a file in path

func IsDir

func IsDir(path string) bool

IsFileExists checks if the path is directy or not

func IsExist

func IsExist(path string) bool

IsFileExists checks if a file or directory exists

func ListFileNames

func ListFileNames(path string) ([]string, error)

ListFileNames return all file names in the path

func RemoveFile

func RemoveFile(path string) error

RemoveFile remove the path file

Types

This section is empty.

Jump to

Keyboard shortcuts

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