Documentation
¶
Index ¶
- func CalculateFileSHA256(p string) (string, error)
- func DownloadFile(url string, destination string) error
- func ExtractFileFromTarGz(archivePath, targetFilename string) (string, error)
- func ReadFile(p string) ([]string, error)
- func SliceContains[T comparable](a T, list []T) bool
- func ValidateFileSha256(p string, sha256Str string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateFileSHA256 ¶
func DownloadFile ¶
func ExtractFileFromTarGz ¶
func SliceContains ¶
func SliceContains[T comparable](a T, list []T) bool
StringInSlice checks if a string is present in slice
func ValidateFileSha256 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.