Multi-Platform Package Manager for Stable Diffusion
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

23 lines
649 B

using DynamicData.Binding;
using StabilityMatrix.Core.Models;
using StabilityMatrix.Core.Models.Database;
using StabilityMatrix.Core.Models.FileInterfaces;
namespace StabilityMatrix.Core.Services;
public interface IImageIndexService
{
IndexCollection<LocalImageFile, string> InferenceImages { get; }
/// <summary>
/// Refresh index for all collections
/// </summary>
Task RefreshIndexForAllCollections();
Task RefreshIndex(IndexCollection<LocalImageFile, string> indexCollection);
/// <summary>
/// Refreshes the index of local images in the background
/// </summary>
void BackgroundRefreshIndex();
}