Documentation
¶
Index ¶
- func CopyAndReplaceFile(srcPath, destPath string) error
- func CopyFile(srcPath, destPath string) error
- func CreateDirIfNotExists(parts ...string) (string, error)
- func DownloadFile(url, checksum string) (string, error)
- func FileChecksum(file *os.File, checksumType string) (string, error)
- func FileExists(filename string) bool
- func FileExistsAndMatchesChecksum(filename, checksum string) (bool, error)
- func FileMatchesChecksum(filename, checksum string) (bool, error)
- func MoveFile(srcPath, dstPath, checksum string) error
- func RemoveDuplicates[T comparable](sliceList []T) []T
- func SHA1Compare(file1, file2 string) (bool, error)
- func SHA1File(filename string) (string, error)
- func UnzipFile(source, destination string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyAndReplaceFile ¶
func CreateDirIfNotExists ¶
func DownloadFile ¶
func FileExists ¶
func FileMatchesChecksum ¶
func RemoveDuplicates ¶
func RemoveDuplicates[T comparable](sliceList []T) []T
func SHA1Compare ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.