1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-14 17:52:56 +08:00
osu-lazer/osu.Game/IO
Dean Herbert fc8835d43a Fix migration failing on single file copy failure
No longer throw if copying of single files fails during data migration.

Aiming to fix https://github.com/ppy/osu/runs/7601653833?check_suite_focus=true, which could also affect end users. I've left a limit before an exception is still thrown, to handle cases like the user running out of disk space (where we probably *do* want to bail, so they can continue to use their still-intact original storage location).

If this isn't seen as a good direction, an alternative will be to make the migration code aware of the structure of the temporary files created by `Storage` (but doesn't guarantee this will cover all cases of such temporary files – there could for isntance be metadata files created by the host operating system).

Another option would be to mark those temporary files as hidden and skip any hidden files during iteration.
2022-08-01 15:02:39 +09:00
..
Archives Automated #nullable processing 2022-06-17 16:37:17 +09:00
FileAbstraction Automated #nullable processing 2022-06-17 16:37:17 +09:00
Legacy Automated #nullable processing 2022-06-17 16:37:17 +09:00
Serialization Replace calls to defective Humanizer methods with correct version 2022-07-18 22:34:58 +02:00
FileInfo.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
IFileInfo.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
IStorageResourceProvider.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
LineBufferedReader.cs Fix crash on mobile releases when attempting to read any file 2022-07-09 06:01:22 +09:00
MigratableStorage.cs Fix migration failing on single file copy failure 2022-08-01 15:02:39 +09:00
OsuStorage.cs Add log output for custom storage usage 2022-07-13 16:22:51 +09:00
StableStorage.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00
WrappedStorage.cs Automated #nullable processing 2022-06-17 16:37:17 +09:00