Documentation ¶
Overview ¶
Package fileutils provides utility functions for working with files and directories
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDataDirectory ¶
CreateDataDirectory creates the data directory if it does not exist
func DeleteDirectoryIfEmpty ¶
DeleteDirectoryIfEmpty deletes the directory if it is empty - used for cleaning up data directories
func DownloadFile ¶
DownloadFile downloads a file from a URL and saves it to the specified path, retry if needed
func ReadGZFileByLine ¶
ReadGZFileByLine reads a .gz file line by line and returns a slice of strings
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.