Documentation ¶
Index ¶
- func AbsolutePath(pth string) string
- func AddPathSepIfNeeded(pth string) string
- func CopyFile(src, dst string) (int64, error)
- func FileExist(path string) bool
- func GetExtName(pathOrUrl string) string
- func GetFileName(pathOrUrl string) string
- func GetFileNameWithoutExt(pathOrUrl string) string
- func GetFilesFromParams(arguments []string) []string
- func GetLogDir() string
- func GetZTFDir() (dir string, isDebug bool)
- func IsAbosutePath(pth string) bool
- func IsDir(f string) bool
- func MkDirIfNeeded(dir string) error
- func ReadFile(filePath string) string
- func ReadFileBuf(filePath string) []byte
- func ReadResData(path string) string
- func RemovePathSepIfNeeded(pth string) string
- func RmDir(dir string) error
- func WriteFile(filePath string, content string)
- func ZipFiles(dist string, dir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsolutePath ¶
func AddPathSepIfNeeded ¶
func GetExtName ¶
func GetFileName ¶
func GetFileNameWithoutExt ¶
func GetFilesFromParams ¶
func IsAbosutePath ¶
func MkDirIfNeeded ¶
func ReadFileBuf ¶
func ReadResData ¶
func RemovePathSepIfNeeded ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.