Documentation ¶
Index ¶
- func CheckIfCompressed(file io.ReadSeeker) bool
- func CopyDirectory(source string, destination string, recursive bool) error
- func CopyFile(source, destination string) error
- func FileExists(path string) bool
- func IsEmpty(path string) (bool, error)
- func RemoveDirContent(path string) error
- func Unzip(src, dest string) (outErr error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfCompressed ¶
func CheckIfCompressed(file io.ReadSeeker) bool
CheckIfCompressed asserts whether the designated file is compressed
func CopyDirectory ¶
CopyDirectory copies the directory at the source path to the provided destination, with the option of recursively copying subdirectories.
func FileExists ¶
FileExists asserts whether provided path results in a valid file on the system
func RemoveDirContent ¶
RemoveDirContent removes all the files in a directory but keeps the directory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.