Versions in this module Expand all Collapse all v0 v0.4.0 May 27, 2019 v0.3.0 Mar 18, 2019 Changes in this version + func CheckIfFileExists(filePath string) bool + func CountFileSize(filePath string) (int64, error) + func CountLinesInFile(filePath string) (int, error) + func CreateDirectoryIfNotExist(dirPath string) error + func DeleteAllFilesInDirectory(dirPath string, omitPaths []string) (int, int, error) + func GetMostRecentFileFromDirectory(dirPath string) (string, error) + func GetNonMostRecentFilesFromDirectory(dirPath string) ([]string, error) + func GetTemporaryFilePath() string + func GetTimedFilePath(baseDir string) string + func ParseIPsFromBytes(toParse []byte) ([]*net.IP, error) + func ReadIPsFromAddressTreeBytes(toParse []byte) ([]*net.IP, error) + func ReadIPsFromBinaryFileBytes(toParse []byte) []*net.IP + func ReadIPsFromFatHexFileBytes(toParse []byte) []*net.IP + func ReadIPsFromFile(filePath string) ([]*net.IP, error) + func ReadIPsFromHexFile(filePath string) ([]*net.IP, error) + func ReadIPsFromHexFileBytes(toParse []byte) []*net.IP + func UnzipBytes(data []byte) ([]byte, error) + func WriteStringsToFile(toWrite []string, filePath string) error + func ZLibCompress(inputPath string, outputPath string) error + func ZipFiles(inputPaths []string, outputPath string) error