mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-09-22 04:41:21 +00:00
Improve main code flow
Improved the way how some parts of the code depend on eachother Fixed some style issues
This commit is contained in:
parent
e3a3aebbf6
commit
aa30227545
4 changed files with 92 additions and 90 deletions
|
|
@ -20,16 +20,14 @@ namespace Emby.Server.Implementations.IO
|
|||
protected ILogger Logger;
|
||||
|
||||
private readonly List<IShortcutHandler> _shortcutHandlers = new List<IShortcutHandler>();
|
||||
|
||||
private readonly string _tempPath;
|
||||
|
||||
private readonly bool _isEnvironmentCaseInsensitive;
|
||||
|
||||
public ManagedFileSystem(
|
||||
ILoggerFactory loggerFactory,
|
||||
ILogger<ManagedFileSystem> logger,
|
||||
IApplicationPaths applicationPaths)
|
||||
{
|
||||
Logger = loggerFactory.CreateLogger("FileSystem");
|
||||
Logger = logger;
|
||||
_tempPath = applicationPaths.TempDirectory;
|
||||
|
||||
_isEnvironmentCaseInsensitive = OperatingSystem.Id == OperatingSystemId.Windows;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue