aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Providers/IDirectoryService.cs
diff options
context:
space:
mode:
authorWWWesten <4700006+WWWesten@users.noreply.github.com>2021-11-01 23:43:29 +0500
committerGitHub <noreply@github.com>2021-11-01 23:43:29 +0500
commit0a14279e2a21bcb9654a06a2d49e1e4f0cc5329c (patch)
treee1b1bd603b011ca98e5793e356326bf4a35a7050 /MediaBrowser.Controller/Providers/IDirectoryService.cs
parentf2817fef743eeb75a00782ceea363b2d3e7dc9f2 (diff)
parent76eeb8f655424d295e73ced8349c6fefee6ddb12 (diff)
Merge branch 'jellyfin:master' into master
Diffstat (limited to 'MediaBrowser.Controller/Providers/IDirectoryService.cs')
-rw-r--r--MediaBrowser.Controller/Providers/IDirectoryService.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/MediaBrowser.Controller/Providers/IDirectoryService.cs b/MediaBrowser.Controller/Providers/IDirectoryService.cs
index 8059d2bd1..48d627691 100644
--- a/MediaBrowser.Controller/Providers/IDirectoryService.cs
+++ b/MediaBrowser.Controller/Providers/IDirectoryService.cs
@@ -1,3 +1,5 @@
+#pragma warning disable CA1002, CA1819, CS1591
+
using System.Collections.Generic;
using MediaBrowser.Model.IO;
@@ -6,10 +8,13 @@ namespace MediaBrowser.Controller.Providers
public interface IDirectoryService
{
FileSystemMetadata[] GetFileSystemEntries(string path);
+
List<FileSystemMetadata> GetFiles(string path);
- FileSystemMetadata GetFile(string path);
- List<string> GetFilePaths(string path);
- List<string> GetFilePaths(string path, bool clearCache);
+ FileSystemMetadata? GetFile(string path);
+
+ IReadOnlyList<string> GetFilePaths(string path);
+
+ IReadOnlyList<string> GetFilePaths(string path, bool clearCache, bool sort = false);
}
}