Contents:
Resets a folder by deleting it if it exists and recreating it.
path (str) – Path to the folder to reset.
ValueError – If the path exists but is not a directory.