code: def get_default_path_for_filesystem(fs):
      if fs == fos.FileSystem.LOCAL:
          HOME = os.environ.get("HOME", None)
          return os.environ.get("FIFTYONE_DEFAULT_LOCAL_PATH", HOME)
      else:
          raise ValueError("Unsupported file system '%s'" % fs)
  
imports: import os
  import fiftyone
  import fiftyone.core.storage
  import fiftyone.operators
  import fiftyone.operators.types
label_desc: Use image node_id 1 for calling a global function with example usage: get_default_path_for_filesystem(fs) and returns: os