1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 06:47:24 +08:00
osu-lazer/osu.Game/Stores
Dean Herbert bbcc149e2e During import if files are found to be missing, ensure they are restored
This is one step closer to sanity in terms of physical files. As per the
comment I have left in place, we really should be checking file sizes or
hashes, but to keep things simple and fast I've opted to just cover the
"missing file" scenario for now.

Ran into this when testing against a foreign `client.realm` by:
- Noticing a beatmap doesn't load
- Deleting said beatmap
- Downloading via beatmap overlay
- Beatmap is restored but still doesn't work

Note that I've kept the logic where this will undelete an existing
import rather than create one from fresh, as I think that is beneficial
to the user (ie. it will still keep any linked scores on restore).
2022-01-25 13:44:54 +09:00
..
BeatmapImporter.cs Fix various cases of creating realm contexts from update thread when not necessary 2022-01-21 01:44:56 +09:00
RealmArchiveModelImporter.cs During import if files are found to be missing, ensure they are restored 2022-01-25 13:44:54 +09:00
RealmArchiveModelManager.cs Fix various cases of creating realm contexts from update thread when not necessary 2022-01-21 01:44:56 +09:00
RealmFileStore.cs Update all usages of CreateContext to use either Run or Write 2022-01-21 17:27:08 +09:00