Documentation
¶
Index ¶
- func BackOncePath(path, after string) (newPath string)
- func CalculateDirectoryHashes(directory, extension string) (sha1Hashes []string, sha512Hashes []string, allFiles []os.DirEntry, err error)
- func CalculateHashes(filepath string) (hashSha1 string, hashSha512 string, err error)
- func ChangeExecPath() (err error)
- func CleanPath(path string) (cleanedPath string)
- func ClearPath(path, extension string) (err error)
- func CopyDirectory(source string, target string) (err error)
- func CreatePath(path string) (err error)
- func DeleteFile(path string) (err error)
- func ExistPath(path string) (exists bool)
- func ExtractZip(source, dest string) (err error)
- func GetExecPath() *string
- func GetSlug(path string) string
- func InitExecDir() (err error)
- func IsDirEmpty(path string) (empty bool)
- func ReadDirectory(path string, extension string) (files []os.DirEntry, err error)
- func ReadDirectoryRecursive(path string, extension string) (files []string, err error)
- func ReadFile(filepath string) (content []byte, err error)
- func RemoveDirectory(path string) (err error)
- func WriteFile(path string, byte []byte) (err error)
- func ZipSource(source, target string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BackOncePath ¶
func CalculateHashes ¶
func ChangeExecPath ¶
func ChangeExecPath() (err error)
func CopyDirectory ¶
func CreatePath ¶
func DeleteFile ¶
func ExtractZip ¶
func GetExecPath ¶
func GetExecPath() *string
func InitExecDir ¶
func InitExecDir() (err error)
func IsDirEmpty ¶
func ReadDirectory ¶
func ReadDirectoryRecursive ¶
func RemoveDirectory ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.