1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 02:22:59 +08:00

Add xmldoc note about path being relative

This commit is contained in:
Naxess 2021-04-20 13:44:06 +02:00
parent d7a81471c8
commit e9dfa2860a

View File

@ -61,6 +61,7 @@ namespace osu.Game.Beatmaps
/// <summary>
/// Returns the storage path for the file in this beatmapset with the given filename, if any exists, otherwise null.
/// The path returned is relative to the user file storage.
/// </summary>
/// <param name="filename">The name of the file to get the storage path of.</param>
public string GetPathForFile(string filename) => Files?.SingleOrDefault(f => string.Equals(f.Filename, filename, StringComparison.OrdinalIgnoreCase))?.FileInfo.StoragePath;