code: def vector_driver_extensions():
      """
      Returns
      -------
      dict:
          Map of extensions to the driver.
      """
      from fiona.meta import extensions  # prevent circular import
  
      extension_to_driver = {}
      for drv, modes in supported_drivers.items():
          # update extensions based on driver suppport
          for extension in extensions(drv) or ():
              if "w" in modes:
                  extension_to_driver[
                      extension
                  ] = extension_to_driver.get(extension, drv)
      return extension_to_driver
  
file_path: Fiona/fiona/drvsupport.py
imports: import os
  from fiona.env import Env
  from fiona._env import get_gdal_version_tuple
label_desc: Use image node_id 3 for calling a global function with example usage: vector_driver_extensions() and returns: extension_to_driver