mirror of
https://github.com/lidarr/lidarr.git
synced 2025-07-07 13:32:17 -07:00
Added lost+found to SpecialFolders list
This commit is contained in:
parent
9fcd422f29
commit
e045b6fc8f
2 changed files with 2 additions and 1 deletions
|
@ -63,6 +63,7 @@ namespace NzbDrone.Core.Test.RootFolderTests
|
||||||
Mocker.GetMock<IBasicRepository<RootFolder>>().Verify(c => c.Delete(1), Times.Once());
|
Mocker.GetMock<IBasicRepository<RootFolder>>().Verify(c => c.Delete(1), Times.Once());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
[Test]
|
||||||
public void None_existing_folder_returns_empty_list()
|
public void None_existing_folder_returns_empty_list()
|
||||||
{
|
{
|
||||||
WithNoneExistingFolder();
|
WithNoneExistingFolder();
|
||||||
|
|
|
@ -30,7 +30,7 @@ namespace NzbDrone.Core.RootFolders
|
||||||
private readonly ISeriesRepository _seriesRepository;
|
private readonly ISeriesRepository _seriesRepository;
|
||||||
private readonly IConfigService _configService;
|
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,
|
public RootFolderService(IBasicRepository<RootFolder> rootFolderRepository,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue