Documentation ¶
Index ¶
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckIfFileExists ¶
func CountFileSize ¶
func CountLinesInFile ¶
func GetTemporaryFilePath ¶
func GetTemporaryFilePath() string
func GetTimedFilePath ¶
func ReadIPsFromHexFileBytes ¶
func UnzipBytes ¶
func WriteStringsToFile ¶
func ZLibCompress ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.