import(
"github.com/sohaha/zlsgo/zfile"
)
func WriteFile(path string, b []byte, isAppend ...bool) (err error)
func ReadFile(path string) ([]byte, error)
func ReadLineFile(path string, handle func(line int, data []byte) error ) (err error)
func PutAppend(path string, b []byte) (err error)
func CopyDir(source string, dest string, ...) (err error)
func CopyFile(source string, dest string) (err error)
func DirExist(path string) bool
func FileExist(path string) bool
func FileSize(file string) (size string)
func SizeFormat(s uint64) string
func ProgramPath(addSlash ...bool) (path string)
func RealPath(path string, addSlash ...bool) (realPath string)
func RealPathMkdir(path string, addSlash ...bool) string
func Rmdir(path string, notIncludeSelf ...bool) (ok bool)
func RootPath() string
func TmpPath() string
func SafePath(path string, pathRange ...string) string
func GzCompress(currentPath, dest string) (err error)
func GzDeCompress(tarFile, dest string) error
func ZipCompress(currentPath, dest string) (err error)
func ZipDeCompress(zipFile, dest string) error
func HasPermission(path string, perm os.FileMode, noUp ...bool) bool
func HasReadWritePermission(path string) bool