# Functions
DirExists returns true if the given path exists and is a directory.
EmptyDir will recursively remove the contents of a directory at the given path.
EnsureDir will create a directory at the given path if it doesn't already exist.
EnsureDirAll will create a directory at the given path along with any necessary parents if they don't already exist.
FileExists returns true if the given path exists.
FileType uses the filetype package to determine the given file path's type.
GetHomeDirectory returns the path of the user's home directory.
GetIntraDir returns a string that can be added to filepath.Join to implement directory depth, "" on error eg given a pattern of 0af63ce3c99162e9df23a997f62621c5 and a depth of 2 length of 3 returns 0af/63c or 0af\63c ( dependin on os) that can be later used like this filepath.Join(directory, intradir, basename).
GetParent returns the parent directory of the given path.
IsZipFileUncompressed returns true if zip file in path is using 0 compression level.
ListDir will return the contents of a given directory path as a string slice.
MatchEntries returns a string slice of the entries in directory dir which match the regexp pattern.
RemoveDir removes the given dir (if it exists) along with all of its contents.
SafeMove move src to dst in safe mode.
ServeFileNoCache serves the provided file, ensuring that the response contains headers to prevent caching.
Touch creates an empty file at the given path if it doesn't already exist.
WriteFile writes file to path creating parent directories if needed.