aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model
diff options
context:
space:
mode:
authorBond-009 <bond.009@outlook.com>2019-03-07 15:54:30 +0100
committerBond-009 <bond.009@outlook.com>2019-03-07 21:13:13 +0100
commitc5fce647defd2eace2d2431ccc52ffe1d027c184 (patch)
treecafd17e6a1217c4283ce7c1b2bee3ac7e77850ab /MediaBrowser.Model
parent10a0d6bdba821449abfb1d48e9708ba6f3fc6a62 (diff)
Cleanup/simplification
* Removed useless copies/allocations * Reduced unneeded complexity
Diffstat (limited to 'MediaBrowser.Model')
-rw-r--r--MediaBrowser.Model/IO/IFileSystem.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MediaBrowser.Model/IO/IFileSystem.cs b/MediaBrowser.Model/IO/IFileSystem.cs
index e0771245f..ca99b28ca 100644
--- a/MediaBrowser.Model/IO/IFileSystem.cs
+++ b/MediaBrowser.Model/IO/IFileSystem.cs
@@ -1,7 +1,6 @@
using System;
using System.Collections.Generic;
using System.IO;
-using System.Text;
namespace MediaBrowser.Model.IO
{
@@ -177,7 +176,7 @@ namespace MediaBrowser.Model.IO
/// </summary>
IEnumerable<FileSystemMetadata> GetFiles(string path, bool recursive = false);
- IEnumerable<FileSystemMetadata> GetFiles(string path, string[] extensions, bool enableCaseSensitiveExtensions, bool recursive);
+ IEnumerable<FileSystemMetadata> GetFiles(string path, IReadOnlyList<string> extensions, bool enableCaseSensitiveExtensions, bool recursive);
/// <summary>
/// Gets the file system entries.