• Jonah Williams's avatar
    [flutter_tools] implement safe file copy with multiple fallbacks (#69000) · 2e54c4a8
    Jonah Williams authored
    The tool observes a large number of unhandled exceptions during the file copy portion of flutter create. it is difficult to tell whether the permission issue is caused by the source/destination, or whether it is due to a bug in dart:io.
    
    To work around this, implement a permission check for both the source and dest files. If either fails, the tool can exit with a more specific message.
    
    If these checks pass, then perform the actual copy. If the copy fails, fallback to manually copying the bytes
    2e54c4a8
Name
Last commit
Last update
..
analyze_size_test.dart Loading commit data...
async_guard_test.dart Loading commit data...
bot_detector_test.dart Loading commit data...
build_test.dart Loading commit data...
command_help_test.dart Loading commit data...
common_test.dart Loading commit data...
context_test.dart Loading commit data...
error_handling_io_test.dart Loading commit data...
file_system_test.dart Loading commit data...
fingerprint_test.dart Loading commit data...
io_test.dart Loading commit data...
logger_test.dart Loading commit data...
logs_test.dart Loading commit data...
net_test.dart Loading commit data...
os_test.dart Loading commit data...
os_utils_test.dart Loading commit data...
platform_test.dart Loading commit data...
process_test.dart Loading commit data...
signals_test.dart Loading commit data...
terminal_test.dart Loading commit data...
user_messages_test.dart Loading commit data...