Documentation ¶
Index ¶
- func BaseDir(p string) string
- func BrowserName(browser, user string) string
- func CompressDir(dir string) error
- func CopyDir(src, dst, skip string) error
- func CopyDirHasSuffix(src, dst, suffix string) error
- func CopyFile(src, dst string) error
- func FilesInFolder(dir, filename string) ([]string, error)
- func IsDirExists(folder string) bool
- func IsFileExists(filename string) bool
- func ItemName(browser, item, ext string) string
- func ParentBaseDir(p string) string
- func ParentDir(p string) string
- func ReadFile(filename string) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BrowserName ¶
func CompressDir ¶
CompressDir compresses the directory into a zip file
func CopyDir ¶
CopyDir copies the directory from the source to the destination skip the file if you don't want to copy
func CopyDirHasSuffix ¶
CopyDirHasSuffix copies the directory from the source to the destination contain is the file if you want to copy, and rename copied filename with dir/index_filename
func FilesInFolder ¶
FilesInFolder returns the filepath contains in the provided folder
func IsFileExists ¶
IsFileExists checks if the file exists in the provided path
func ParentBaseDir ¶
ParentBaseDir returns the parent base directory of the provided path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.