mirror of
https://github.com/osukey/osukey.git
synced 2025-06-20 02:38:04 +09:00
Add log method for new flow
This commit is contained in:
parent
f470b7095d
commit
e755dcc34d
@ -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.
|
// 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)))
|
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);
|
Undelete(existing);
|
||||||
return existing;
|
return existing;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user