anchor.diff:    SET exit_code=%ERRORLEVEL%
   )
   
  -EXIT %exit_code%
  +EXIT /B %exit_code%
  
positive.code:     CALL PowerShell.exe -ExecutionPolicy Bypass -Command "& '%FLUTTER_ROOT%/bin/internal/update_dart_sdk.ps1'"
      SET exit_code=%ERRORLEVEL%
      IF %exit_code% NEQ 0 (
        ECHO Error: Unable to update Dart SDK.
        REM Do not use /B here, we want to exit out of the script, not just the subroutine
        EXIT %exit_code%
      )
  
    :do_snapshot
  
negative.code: SET pub=%dart_sdk_path%\bin\pub.bat
  
  REM Test if Git is available on the Host
  where /q git || ECHO Error: Unable to find git in your PATH. && EXIT /B 1
  REM  Test if the flutter directory is a git clone, otherwise git rev-parse HEAD would fail
  IF NOT EXIST "%flutter_root%\.git" (
    ECHO Error: The Flutter directory is not a clone of the GitHub project.
    EXIT /B 1
  )
  
  REM Ensure that bin/cache exists.
  