def clean(config):
if not exists(config):<EOL><INDENT>logger.debug("<STR_LIT>")<EOL>return<EOL><DEDENT>shutil.rmtree(config.cache_path)<EOL>logger.debug("<STR_LIT>")<EOL>
Delete a wily cache.

:param config: The configuration
:type  config: :class:`wily.config.WilyConfig`