Documentation
¶
Index ¶
- func ConvertBytesToHumanReadable(size int64) string
- func ConvertFileModeToString(mode int64) (string, error)
- func CopyFile(src, dst string) error
- func CreateSubdirectoriesForPath(workDir, path string) error
- func DirectoryExists(directory string) bool
- func FileExists(file string) bool
- func GetOsVendor(prefix string) (string, error)
- func GetOsVendorFromFile(filename string) (string, error)
- func GetOsVendorFromScanner(s *bufio.Scanner) (string, error)
- func IsDirectoryEmpty(name string) bool
- func IsTty() bool
- func Round(val float64, roundOn float64, places int) (newVal float64)
- func SlurpFile(filePath string) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertFileModeToString ¶
func DirectoryExists ¶ added in v0.25.2
func FileExists ¶ added in v0.25.2
func GetOsVendor ¶
func GetOsVendorFromFile ¶
func IsDirectoryEmpty ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.