Documentation
¶
Index ¶
- func AppendFile(filePath string, text string) bool
- func AppendFileBytes(filePath string, data []byte) bool
- func ChangeFileExt(filePath string, ext string) string
- func CopyFile(srcFilePath string, destFilePath string) bool
- func DeleteDirs(path string) bool
- func DeleteFile(filePath string) bool
- func DirectoryExists(dirPath string) bool
- func ExtractFileExt(filePath string) string
- func ExtractFileName(filePath string) string
- func ExtractFilePath(filePath string) string
- func FileExists(filePath string) bool
- func MkDirs(path string) bool
- func ReadFile(filePath string) string
- func ReadFileBytes(filePath string) []byte
- func ReadFileLines(filePath string) []string
- func RenameFile(srcFilePath string, destFilePath string) bool
- func WriteFile(filePath string, text string) bool
- func WriteFileBytes(filePath string, data []byte) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendFile ¶ added in v0.6.0
func AppendFileBytes ¶ added in v0.6.0
func ChangeFileExt ¶ added in v1.0.2
func DeleteDirs ¶
func DeleteFile ¶
func DirectoryExists ¶
func ExtractFileExt ¶ added in v1.0.2
func ExtractFileName ¶ added in v1.0.2
func ExtractFilePath ¶ added in v1.0.2
func FileExists ¶
func ReadFileBytes ¶
func ReadFileLines ¶ added in v0.6.0
func RenameFile ¶ added in v0.6.0
func WriteFileBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.