mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fixed: Hidden files being ignored
(cherry picked from commit d493f8762fcb1684b44e182753c21d7a493db787)
This commit is contained in:
@@ -162,6 +162,7 @@ namespace NzbDrone.Common.Disk
|
||||
|
||||
return Directory.EnumerateFiles(path, "*", new EnumerationOptions
|
||||
{
|
||||
AttributesToSkip = FileAttributes.System,
|
||||
RecurseSubdirectories = recursive,
|
||||
IgnoreInaccessible = true
|
||||
});
|
||||
@@ -528,6 +529,7 @@ namespace NzbDrone.Common.Disk
|
||||
|
||||
return di.EnumerateFiles("*", new EnumerationOptions
|
||||
{
|
||||
AttributesToSkip = FileAttributes.System,
|
||||
RecurseSubdirectories = recursive,
|
||||
IgnoreInaccessible = true
|
||||
}).ToList();
|
||||
|
Reference in New Issue
Block a user