withFileProtection<R> function

  1. @Deprecated('Use withFileProtectionAsync')
R withFileProtection<R>(
  1. List<String> protected,
  2. R action(), {
  3. String? workingDirectory,
})

Implementation

@Deprecated('Use withFileProtectionAsync')
R withFileProtection<R>(
  List<String> protected,
  R Function() action, {
  String? workingDirectory,
}) {
  throw UnsupportedError('Use withFileProtectionAsync');
}