Remove unnecessary IsPathLocked function
This commit is contained in:
parent
08e71010ae
commit
c2c286be6e
|
@ -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))
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user