1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Document private method getBeatmapSet(path)

This commit is contained in:
Mikal Stodal 2017-03-01 17:57:57 +01:00
parent 1e901a1604
commit 418ae24fea

View File

@ -123,7 +123,7 @@ namespace osu.Game.Database
foreach (string p in paths)
try
{
BeatmapSetInfo set = importBeatmapSet(p);
BeatmapSetInfo set = getBeatmapSet(p);
sets.Push(set);
@ -153,7 +153,13 @@ namespace osu.Game.Database
Import(new [] { path });
}
private BeatmapSetInfo importBeatmapSet(string path)
/// <summary>
/// Duplicates content from <paramref name="path"/> to storage and returns a representing <see cref="BeatmapSetInfo"/>.
/// Returns null if a representation already exists.
/// </summary>
/// <param name="path">Content location</param>
/// <returns><see cref="BeatmapSetInfo"/> or null</returns>
private BeatmapSetInfo getBeatmapSet(string path)
{
string hash = null;