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 /Emby.Server.Implementations/IO | |
| parent | 08e71010ae3370cb51068eb0215d53f82019fbca (diff) | |
Remove unnecessary IsPathLocked function
Diffstat (limited to 'Emby.Server.Implementations/IO')
| -rw-r--r-- | Emby.Server.Implementations/IO/LibraryMonitor.cs | 6 |
1 files changed, 0 insertions, 6 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)) |
