topotoolbox.clear_cache

Contents

topotoolbox.clear_cache#

topotoolbox.clear_cache(filename: str | None = None) None[source]#

Deletes the cache directory and its contents. Can also delete a single file when using the argument filename. To get the contents of your cache, use ‘get_cache_contents()’.

Parameters:

filename (str, optional) – Add a filename if only one specific file is to be deleted. Defaults to None.