mirror of
https://github.com/Radarr/Radarr.git
synced 2024-07-15 00:57:36 +02:00
Compare commits
1 Commits
24c4ba6f02
...
e60933900a
Author | SHA1 | Date | |
---|---|---|---|
|
e60933900a |
@ -153,11 +153,7 @@ public IEnumerable<string> GetDirectories(string path)
|
|||||||
{
|
{
|
||||||
Ensure.That(path, () => path).IsValidPath(PathValidationType.CurrentOs);
|
Ensure.That(path, () => path).IsValidPath(PathValidationType.CurrentOs);
|
||||||
|
|
||||||
return Directory.EnumerateDirectories(path, "*", new EnumerationOptions
|
return Directory.EnumerateDirectories(path);
|
||||||
{
|
|
||||||
AttributesToSkip = FileAttributes.System,
|
|
||||||
IgnoreInaccessible = true
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerable<string> GetFiles(string path, bool recursive)
|
public IEnumerable<string> GetFiles(string path, bool recursive)
|
||||||
|
Loading…
Reference in New Issue
Block a user