code: def remove_tmp_dirs(env=None):
      if env is None:
          env = os.environ
  
      global _tmp_roots
  
      for x in _tmp_roots:
          logger.debug("Removing tmp dir %s", x)
          shutil.rmtree(x, ignore_errors=True)
  
      _tmp_roots = []
  
      revert_tmp_dir(env)
  
file_path: catboost/library/python/tmp/__init__.py
imports: import logging
  import tempfile
  import time
  import os
  import shutil
  import contextlib
  import library.python.fs
  import library.python.unique_id
label_desc: Use image node_id 2 for calling a global function with example usage: remove_tmp_dirs(env) without return types