diff --git a/osu.Game/Database/ArchiveModelManager.cs b/osu.Game/Database/ArchiveModelManager.cs
index 7ea6fe067c..9b89037334 100644
--- a/osu.Game/Database/ArchiveModelManager.cs
+++ b/osu.Game/Database/ArchiveModelManager.cs
@@ -342,22 +342,6 @@ namespace osu.Game.Database
return item.Hash;
}
- private string computeHashFast(ArchiveReader reader)
- {
- MemoryStream hashable = new MemoryStream();
-
- foreach (var file in reader.Filenames.Where(f => HashableFileTypes.Any(ext => f.EndsWith(ext, StringComparison.OrdinalIgnoreCase))).OrderBy(f => f))
- {
- using (Stream s = reader.GetStream(file))
- s.CopyTo(hashable);
- }
-
- if (hashable.Length > 0)
- return hashable.ComputeSHA2Hash();
-
- return reader.Name.ComputeSHA2Hash();
- }
-
///
/// Silently import an item from a .
///
@@ -686,6 +670,22 @@ namespace osu.Game.Database
}
}
+ private string computeHashFast(ArchiveReader reader)
+ {
+ MemoryStream hashable = new MemoryStream();
+
+ foreach (var file in reader.Filenames.Where(f => HashableFileTypes.Any(ext => f.EndsWith(ext, StringComparison.OrdinalIgnoreCase))).OrderBy(f => f))
+ {
+ using (Stream s = reader.GetStream(file))
+ s.CopyTo(hashable);
+ }
+
+ if (hashable.Length > 0)
+ return hashable.ComputeSHA2Hash();
+
+ return reader.Name.ComputeSHA2Hash();
+ }
+
///
/// Create all required s for the provided archive, adding them to the global file store.
///