code: def clean_repos():
      # Outside code should not see cache while we are removing
      paths = [path for path, _ in CLONES.values()] + list(
          CACHE_DIRS.values()
      )
      CLONES.clear()
      CACHE_DIRS.clear()
  
      for path in paths:
          _remove(path)
  
imports: import os
  import tempfile
  import threading
  from typing import TYPE_CHECKING, Dict, Optional, Tuple
  from funcy import retry, wrap_with
  from dvc.exceptions import NotDvcRepoError
  from dvc.log import logger
  from dvc.repo import Repo
  from dvc.scm import CloneError, map_scm_exception
  from dvc.utils import relpath
label_desc: Use image node_id 5 for calling a global function with example usage: clean_repos() without return types