mirror of https://github.com/ppy/osu
Document private method getBeatmapSet(path)
This commit is contained in:
parent
1e901a1604
commit
418ae24fea
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue