Implement ignore rule caching

This commit is contained in:
Shadowghost
2026-02-01 23:07:01 +01:00
parent 622947e374
commit d20c775daf
8 changed files with 663 additions and 42 deletions

View File

@@ -177,6 +177,13 @@ namespace MediaBrowser.Controller.Library
/// <returns>Task.</returns>
Task ValidateTopLibraryFolders(CancellationToken cancellationToken, bool removeRoot = false);
/// <summary>
/// Clears the cached ignore rule directory lookups.
/// Call this before triggering a library scan or item refresh to ensure
/// any changes to .ignore files are picked up.
/// </summary>
void ClearIgnoreRuleCache();
Task UpdateImagesAsync(BaseItem item, bool forceUpdate = false);
/// <summary>