getWindowsProfileReadStatus function

WindowsProfileGrantStatus getWindowsProfileReadStatus({
  1. bool? paths,
  2. SrtWinSpawn? srtWin,
})

The recorded profile read grant (srt-win profile status): whether one exists and is current, and with paths every path it wrote on. Throws profile_operation_in_progress while a grant or forget is running. Blocks the event loop: prefer {@link getWindowsProfileReadStatusAsync}.

Implementation

WindowsProfileGrantStatus getWindowsProfileReadStatus({
  bool? paths,
  SrtWinSpawn? srtWin,
}) {
  // Asked while a grant or forget is running: the record is being
  // rewritten, and is not a run that was cut short.
  throw UnsupportedError('Windows is not supported by this port');
}