aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.ServerApplication/IO/FileSystemFactory.cs
blob: ab7802e17df6c0b740a3d297d2996622e991ae2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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"));
        }
    }
}