# Functions
DetectPublicIP detects your public IP address and returns a pointer to a string containing the IP address or any error.
EnsureFile checks a file exists and writes the supplied contents if not.
EnvOrDefault tries to read an environment variable with the supplied key and returns its value.
ExpandTilde returns the fully qualified path to a file in the user's home directory.
FileExists checks whether a path exists.
IsStringInSlice checks if string a apperas in list list and returns a boolean and error if it isn't present in string.
MustExpandTilde is the panicky version of ExpandTilde.
MustRemove removes a file or empty directory.
MustSlurp is the panicky counterpart to Slurp.
OverwriteFile writes the supplied contents overwriting the path if it already exists.
Slurp reads an entire file into a string in one operation and returns a pointer to the file's content or an error if any.