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

Fixed: Hidden files being ignored

This commit is contained in:
Mark McDowall 2023-08-17 21:21:46 -07:00
parent d5c6faaf45
commit d493f8762f

View File

@ -162,6 +162,7 @@ public IEnumerable<string> GetFiles(string path, bool recursive)
return Directory.EnumerateFiles(path, "*", new EnumerationOptions
{
AttributesToSkip = FileAttributes.System,
RecurseSubdirectories = recursive,
IgnoreInaccessible = true
});