mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 15:12:57 +08:00
Add xmldoc note about path being relative
This commit is contained in:
parent
d7a81471c8
commit
e9dfa2860a
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user