1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 10:12:54 +08:00

Add log method for new flow

This commit is contained in:
Dean Herbert 2021-06-27 20:37:12 +09:00
parent f470b7095d
commit e755dcc34d

View File

@ -374,6 +374,7 @@ namespace osu.Game.Database
// or alternatively doing a faster hash check. either of these require database changes and reprocessing of existing files.
if (getFilenames(existing.Files).SequenceEqual(getShortenedFilenames(archive).Select(p => p.shortened).OrderBy(f => f)))
{
LogForModel(item, $"Found existing (optimised) {HumanisedModelName} for {item} (ID {existing.ID}) skipping import.");
Undelete(existing);
return existing;
}