code: def get_blob_cache(blobkey):
      blobcache_dir = os.path.join(get_studio_home(), "blobcache")
      if not os.path.exists(blobcache_dir):
          os.makedirs(blobcache_dir)
  
      blobkey = re.sub(r"\.tar\.?[^\.]*\Z", "", blobkey)
      if blobkey.startswith("blobstore/"):
          blobkey = re.sub(".*/", "", blobkey)
  
      return os.path.join(get_studio_home(), "blobcache", blobkey)
  
file_path: studio/studio/artifacts/artifacts_tracker.py
imports: import os
  import uuid
  import json
  import re
  import shutil
  from studio.util import util
label_desc: Use image node_id 8 for calling a global function with example usage: get_blob_cache(blobkey) and returns: os