From 418ae24fea701a5397cf578d30c1d8c7d933982c Mon Sep 17 00:00:00 2001 From: Mikal Stodal Date: Wed, 1 Mar 2017 17:57:57 +0100 Subject: [PATCH] Document private method getBeatmapSet(path) --- osu.Game/Database/BeatmapDatabase.cs | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/osu.Game/Database/BeatmapDatabase.cs b/osu.Game/Database/BeatmapDatabase.cs index b1ef5e1649..13f76b9837 100644 --- a/osu.Game/Database/BeatmapDatabase.cs +++ b/osu.Game/Database/BeatmapDatabase.cs @@ -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) + /// + /// Duplicates content from to storage and returns a representing . + /// Returns null if a representation already exists. + /// + /// Content location + /// or null + private BeatmapSetInfo getBeatmapSet(string path) { string hash = null;