The Free Software Media System - Server Backend & API
Remove unnecessary IsPathLocked function
jgriff6c2c286be6ed1
diff --git a/Emby.Server.Implementations/IO/LibraryMonitor.cs b/Emby.Server.Implementations/IO/LibraryMonitor.csindex 341d67b8a2..c1422c43da 100644--- a/Emby.Server.Implementations/IO/LibraryMonitor.cs+++ b/Emby.Server.Implementations/IO/LibraryMonitor.cs@@ -79,12 +79,6 @@ namespace Emby.Server.Implementations.IOTemporarilyIgnore(path);}- public bool IsPathLocked(string path)- {- // This method is not used by the core but it used by auto-organize- return _tempIgnoredPaths.Keys.Any(i => _fileSystem.AreEqual(i, path) || _fileSystem.ContainsSubPath(i, path));- }-public async void ReportFileSystemChangeComplete(string path, bool refreshPath){if (string.IsNullOrEmpty(path))diff --git a/MediaBrowser.Controller/Library/ILibraryMonitor.cs b/MediaBrowser.Controller/Library/ILibraryMonitor.csindex 455054bd12..de74aa5a11 100644--- a/MediaBrowser.Controller/Library/ILibraryMonitor.cs+++ b/MediaBrowser.Controller/Library/ILibraryMonitor.cs@@ -34,12 +34,5 @@ namespace MediaBrowser.Controller.Library/// </summary>/// <param name="path">The path.</param>void ReportFileSystemChanged(string path);-- /// <summary>- /// Determines whether [is path locked] [the specified path].- /// </summary>- /// <param name="path">The path.</param>- /// <returns><c>true</c> if [is path locked] [the specified path]; otherwise, <c>false</c>.</returns>- bool IsPathLocked(string path);}}