diff options
| author | jgriff6 <74262798+jgriff6@users.noreply.github.com> | 2022-10-25 01:47:53 +0100 |
|---|---|---|
| committer | jgriff6 <74262798+jgriff6@users.noreply.github.com> | 2022-10-25 02:27:22 +0100 |
| commit | c2c286be6ed1ed33cb78aaebd9f14dc7f19fe0d1 (patch) | |
| tree | 438ae61c8095f4e9cd24710e6351bc701e7897c3 | |
| parent | 08e71010ae3370cb51068eb0215d53f82019fbca (diff) | |
Remove unnecessary IsPathLocked function
| -rw-r--r-- | Emby.Server.Implementations/IO/LibraryMonitor.cs | 6 | ||||
| -rw-r--r-- | MediaBrowser.Controller/Library/ILibraryMonitor.cs | 7 |
2 files changed, 0 insertions, 13 deletions
diff --git a/Emby.Server.Implementations/IO/LibraryMonitor.cs b/Emby.Server.Implementations/IO/LibraryMonitor.cs index 341d67b8a..c1422c43d 100644 --- a/Emby.Server.Implementations/IO/LibraryMonitor.cs +++ b/Emby.Server.Implementations/IO/LibraryMonitor.cs @@ -79,12 +79,6 @@ namespace Emby.Server.Implementations.IO TemporarilyIgnore(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.cs index 455054bd1..de74aa5a1 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); } } |
