newton.utils.clear_git_cache#

newton.utils.clear_git_cache(cache_dir=None)[source]#

Clears the git download cache directory.

Parameters:

cache_dir (str | None) – Cache directory to clear. If None, uses default temp directory