mirror of
https://github.com/Lidarr/Lidarr
synced 2026-05-09 05:06:09 +02:00
Revert "Fixed: Hidden files being ignored"
This reverts commit 3e5d780424.
This commit is contained in:
parent
3e5d780424
commit
9b4a3001a0
1 changed files with 0 additions and 2 deletions
|
|
@ -176,7 +176,6 @@ public IEnumerable<string> GetFiles(string path, bool recursive)
|
|||
|
||||
return _fileSystem.Directory.EnumerateFiles(path, "*", new EnumerationOptions
|
||||
{
|
||||
AttributesToSkip = FileAttributes.System,
|
||||
RecurseSubdirectories = recursive,
|
||||
IgnoreInaccessible = true
|
||||
});
|
||||
|
|
@ -518,7 +517,6 @@ public List<IFileInfo> GetFileInfos(string path, bool recursive = false)
|
|||
|
||||
return di.EnumerateFiles("*", new EnumerationOptions
|
||||
{
|
||||
AttributesToSkip = FileAttributes.System,
|
||||
RecurseSubdirectories = recursive,
|
||||
IgnoreInaccessible = true
|
||||
}).ToList();
|
||||
|
|
|
|||
Loading…
Reference in a new issue