code: def flatc_reflection(options, location, target):
      full_options = ["--no-prefix"] + options
      temp_dir = ".tmp"
      flatc(
          full_options,
          prefix=temp_dir,
          schema="reflection.fbs",
          cwd=reflection_path,
      )
      new_reflection_path = Path(reflection_path, temp_dir, target)
      original_reflection_path = Path(root_path, location, target)
      if not filecmp.cmp(
          str(new_reflection_path), str(original_reflection_path)
      ):
          shutil.rmtree(
              str(original_reflection_path), ignore_errors=True
          )
          shutil.move(
              str(new_reflection_path), str(original_reflection_path)
          )
      shutil.rmtree(str(Path(reflection_path, temp_dir)))
  
file_path: flatbuffers/scripts/generate_code.py
imports: import filecmp
  import glob
  import shutil
  import subprocess
  import generate_grpc_examples
  from pathlib import Path
  from util import flatc, root_path, tests_path, args, flatc_path
label_desc: Use image node_id 1 for calling a global function with example usage: flatc_reflection(options, location, target) without return types