aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Controller/Providers/IDirectoryService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Controller/Providers/IDirectoryService.cs')
-rw-r--r--MediaBrowser.Controller/Providers/IDirectoryService.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/Providers/IDirectoryService.cs b/MediaBrowser.Controller/Providers/IDirectoryService.cs
new file mode 100644
index 000000000..343cf361f
--- /dev/null
+++ b/MediaBrowser.Controller/Providers/IDirectoryService.cs
@@ -0,0 +1,15 @@
+using System.Collections.Generic;
+using System.IO;
+
+namespace MediaBrowser.Controller.Providers
+{
+ public interface IDirectoryService
+ {
+ IEnumerable<FileSystemInfo> GetFileSystemEntries(string path);
+ IEnumerable<FileSystemInfo> GetFiles(string path);
+ IEnumerable<FileSystemInfo> GetDirectories(string path);
+ IEnumerable<FileSystemInfo> GetFiles(string path, bool clearCache);
+ FileSystemInfo GetFile(string path);
+ Dictionary<string, FileSystemInfo> GetFileSystemDictionary(string path);
+ }
+} \ No newline at end of file