1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2024-12-16 11:37:58 +02:00

Added lost+found to SpecialFolders list

This commit is contained in:
Mark McDowall 2013-11-12 22:39:15 -08:00
parent 9fcd422f29
commit e045b6fc8f
2 changed files with 2 additions and 1 deletions

View File

@ -63,6 +63,7 @@ public void should_be_able_to_remove_root_dir()
Mocker.GetMock<IBasicRepository<RootFolder>>().Verify(c => c.Delete(1), Times.Once());
}
[Test]
public void None_existing_folder_returns_empty_list()
{
WithNoneExistingFolder();

View File

@ -30,7 +30,7 @@ public class RootFolderService : IRootFolderService
private readonly ISeriesRepository _seriesRepository;
private readonly IConfigService _configService;
private static readonly HashSet<string> SpecialFolders = new HashSet<string> { "$recycle.bin", "system volume information", "recycler" };
private static readonly HashSet<string> SpecialFolders = new HashSet<string> { "$recycle.bin", "system volume information", "recycler", "lost+found" };
public RootFolderService(IBasicRepository<RootFolder> rootFolderRepository,