Documentation ¶
Index ¶
- func CleanDir(dirPath string) error
- func Close(stream io.Closer)
- func CloseFile(file *os.File)
- func CloseGZipReader(reader *gzip.Reader)
- func ClosePBReader(reader *pb.Reader)
- func CloseZipReader(reader *zip.ReadCloser)
- func CreateDirs(dirPath string) error
- func DeleteDir(dirPath string)
- func GetAppDataHome() string
- func GetBinDir(executable string) string
- func GetUserHome() string
- func GetValueFromEnv(envVar string, defaultValue string) string
- func Untar(src string, dst string) error
- func Unzip(src string, dest string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloseGZipReader ¶ added in v1.27.1
func ClosePBReader ¶ added in v1.27.1
func ClosePBReader(reader *pb.Reader)
func CloseZipReader ¶ added in v1.27.1
func CloseZipReader(reader *zip.ReadCloser)
func GetValueFromEnv ¶ added in v1.27.1
GetValueFromEnv ...
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.