Update summary and commentary

This commit is contained in:
Mikal Stodal 2017-03-02 13:39:02 +01:00
parent 6661195e92
commit 47162a3e91
1 changed files with 2 additions and 2 deletions

View File

@ -130,6 +130,7 @@ public void Import(IEnumerable<string> paths)
// We may or may not want to delete the file depending on where it is stored.
// e.g. reconstructing/repairing database with beatmaps from default storage.
// Also, not always a single file, i.e. for LegacyFilesystemReader
// TODO: Add a check to prevent files from storage to be deleted.
try
{
@ -156,10 +157,9 @@ public void Import(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>
/// <returns><see cref="BeatmapSetInfo"/></returns>
private BeatmapSetInfo getBeatmapSet(string path)
{
string hash = null;