2013-10-31 14:03:23 +00:00
|
|
|
|
using MediaBrowser.Common.IO;
|
|
|
|
|
using MediaBrowser.Controller.IO;
|
2013-10-30 23:15:58 +00:00
|
|
|
|
using MediaBrowser.Model.Logging;
|
2013-10-30 14:40:14 +00: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 23:15:58 +00:00
|
|
|
|
public static IFileSystem CreateFileSystemManager(ILogManager logManager)
|
2013-10-30 14:40:14 +00:00
|
|
|
|
{
|
2013-10-30 23:15:58 +00:00
|
|
|
|
return new NativeFileSystem(logManager.GetLogger("FileSystem"));
|
2013-10-30 14:40:14 +00:00
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|