1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 01:27:29 +08:00

Expose constant publicly rather than reexposing business

This commit is contained in:
Dean Herbert 2023-02-17 13:34:19 +09:00
parent 96b1498932
commit 8c772a723f

View File

@ -28,7 +28,7 @@ namespace osu.Game.Database
/// ///
/// This actual usable length is smaller 256 because <see cref="Storage.CreateFileSafely(string)"/> adds additional "_<see cref="Guid"/>" to the end of the path /// This actual usable length is smaller 256 because <see cref="Storage.CreateFileSafely(string)"/> adds additional "_<see cref="Guid"/>" to the end of the path
/// </remarks> /// </remarks>
protected const int MAX_FILENAME_LENGTH = 255 - (32 + 4 + 2); //max path - (Guid + Guid "D" format chars + Storage.CreateFileSafely chars) public const int MAX_FILENAME_LENGTH = 255 - (32 + 4 + 2); //max path - (Guid + Guid "D" format chars + Storage.CreateFileSafely chars)
/// <summary> /// <summary>
/// The file extension for exports (including the leading '.'). /// The file extension for exports (including the leading '.').