Document private method getBeatmapSet(path)

This commit is contained in:
Mikal Stodal 2017-03-01 17:57:57 +01:00
parent 1e901a1604
commit 418ae24fea
1 changed files with 8 additions and 2 deletions

View File

@ -123,7 +123,7 @@ public void Import(IEnumerable<string> paths)
foreach (string p in paths)
try
{
BeatmapSetInfo set = importBeatmapSet(p);
BeatmapSetInfo set = getBeatmapSet(p);
sets.Push(set);
@ -153,7 +153,13 @@ public void Import(string path)
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;