2013-10-31 10:03:23 -04:00
|
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
|
|
using MediaBrowser.Controller.IO;
|
2013-10-30 19:15:58 -04:00
|
|
|
|
using MediaBrowser.Model.Logging;
|
2013-10-30 10:40:14 -04:00
|
|
|
|
|
|
|
|
|
|
namespace MediaBrowser.ServerApplication.IO
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Class FileSystemFactory
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public static class FileSystemFactory
|
|
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Creates the file system manager.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <returns>IFileSystem.</returns>
|
2013-10-30 19:15:58 -04:00
|
|
|
|
public static IFileSystem CreateFileSystemManager(ILogManager logManager)
|
2013-10-30 10:40:14 -04:00
|
|
|
|
{
|
2013-10-30 19:15:58 -04:00
|
|
|
|
return new NativeFileSystem(logManager.GetLogger("FileSystem"));
|
2013-10-30 10:40:14 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|