aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
diff options
context:
space:
mode:
authorSven Van den brande <sven.vandenbrande@outlook.com>2013-10-31 21:46:03 +0100
committerSven Van den brande <sven.vandenbrande@outlook.com>2013-10-31 21:46:03 +0100
commite8f8d6651c86b3fd3350a5afae1d759fbbad06bd (patch)
tree6496b1525f0dfc448f0250f4fddaa634296ae94b /MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
parent28ab28768a307d1cac60ebe79163b98291068cde (diff)
parent882d0681e68c5e0ae663cca75752e4df765c8dd5 (diff)
Merge branch 'master' of https://github.com/MediaBrowser/MediaBrowser
Diffstat (limited to 'MediaBrowser.ServerApplication/IO/FileSystemFactory.cs')
-rw-r--r--MediaBrowser.ServerApplication/IO/FileSystemFactory.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs b/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
new file mode 100644
index 000000000..698c4b616
--- /dev/null
+++ b/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
@@ -0,0 +1,21 @@
+using MediaBrowser.Common.IO;
+using MediaBrowser.Controller.IO;
+using MediaBrowser.Model.Logging;
+
+namespace MediaBrowser.ServerApplication.IO
+{
+ /// <summary>
+ /// Class FileSystemFactory
+ /// </summary>
+ public static class FileSystemFactory
+ {
+ /// <summary>
+ /// Creates the file system manager.
+ /// </summary>
+ /// <returns>IFileSystem.</returns>
+ public static IFileSystem CreateFileSystemManager(ILogManager logManager)
+ {
+ return new NativeFileSystem(logManager.GetLogger("FileSystem"));
+ }
+ }
+}