Documentation
¶
Index ¶
- func ConvertRarToCbz(src string) error
- func CreateFolderIfNotExists(path string) error
- func CreateTemp(dir, path string) (*os.File, error)
- func DeleteFile(path string) error
- func DeleteFolder(path string) error
- func FileArgExists(path, name string) error
- func FileExists(path string) (bool, error)
- func FolderArgExists(path, name string) error
- func FolderExists(path string) (bool, error)
- func GetAllFilesWithExtInASpecificFolder(dir, ext string) ([]string, error)
- func GetDataDir(folder string) (string, error)
- func GetFileFolder(filePath string) string
- func GetFileSize(path string) (float64, error)
- func GetFilesFromZip(src string) (*zip.ReadCloser, map[string]*zip.File, error)
- func GetFoldersInCurrentFolder(path string) ([]string, error)
- func JoinPath(elements ...string) string
- func ReadInBinaryFileContents(path string) ([]byte, error)
- func ReadInFileContents(path string) (string, error)
- func ReadInZipFileBytes(zipFile *zip.File) ([]byte, error)
- func ReadInZipFileContents(zipFile *zip.File) (string, error)
- func Rename(src, dest string) error
- func UnzipFile(zipFile *os.File, destDir string) error
- func WriteBinaryFileContents(path string, content []byte) error
- func WriteFileContents(path, content string) error
- func WriteZipCompressedBytes(w *zip.Writer, filename string, data []byte) error
- func WriteZipCompressedFile(w *zip.Writer, zipFile *zip.File) error
- func WriteZipCompressedString(w *zip.Writer, filename, contents string) error
- func WriteZipUncompressedFile(w *zip.Writer, zipFile *zip.File) error
- func WriteZipUncompressedString(w *zip.Writer, filename, contents string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertRarToCbz ¶
func CreateFolderIfNotExists ¶
func DeleteFile ¶
func DeleteFolder ¶
func FileArgExists ¶
func FileExists ¶
func FolderArgExists ¶
func FolderExists ¶
func GetDataDir ¶
func GetFileFolder ¶
func GetFileSize ¶
func GetFilesFromZip ¶
func ReadInFileContents ¶
func WriteBinaryFileContents ¶
func WriteFileContents ¶
func WriteZipCompressedBytes ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.