code: def _default_cache_dir() -> epath.Path:
      """Returns the default cache directory."""
      if "TFDS_CACHE_DIR" in os.environ:
          path = os.environ["TFDS_CACHE_DIR"]
      elif "XDG_CACHE_HOME" in os.environ:
          path = os.path.join(
              os.environ["XDG_CACHE_HOME"], "tensorflow_datasets"
          )
      else:
          path = os.path.join("~", ".cache", "tensorflow_datasets")
      return epath.Path(path).expanduser()
  
imports: import os
  import sys
  from etils import epath
  from tensorflow_datasets.core import utils
label_desc: Use image node_id 1 for calling a global function with example usage: _default_cache_dir() and returns: epath