Versions in this module Expand all Collapse all v1 v1.5.0 Nov 17, 2024 Changes in this version + func DecodeBase64Content(content string) ([]byte, error) + func DecodeContent(content string, encoding string) ([]byte, error) + func DecodeGzipContent(content string) ([]byte, error) + func DecompressGzip(content []byte) ([]byte, error) + func EnsureDirectoryExists(dir string) error + func ExistsAndExecutable(path string) bool + func HTTPDownloadToFile(url, dest string) error + func HTTPLoadBytes(url string) ([]byte, error) + func MaskPassword(r *os.File, w io.Writer) ([]byte, error) + func PromptPassword() (string, bool, error) + func RunScript(path string, arg ...string) error + func WriteFileAtomic(filename string, data []byte, perm os.FileMode) error