2026-01-02 15:33:45 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
2022-03-25 21:19:00 +00:00
|
|
|
|
namespace Flow.Launcher.Plugin.Explorer.Search
|
|
|
|
|
|
{
|
2026-01-05 01:45:32 +00:00
|
|
|
|
public readonly record struct SearchResult
|
2022-03-25 21:19:00 +00:00
|
|
|
|
{
|
2026-01-05 01:45:32 +00:00
|
|
|
|
// Constructor is necesssary for record struct
|
2026-01-05 01:43:48 +00:00
|
|
|
|
public SearchResult()
|
|
|
|
|
|
{
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2022-03-25 21:19:00 +00:00
|
|
|
|
public string FullPath { get; init; }
|
|
|
|
|
|
public ResultType Type { get; init; }
|
2022-09-10 15:45:41 +00:00
|
|
|
|
public int Score { get; init; }
|
2022-03-25 21:19:00 +00:00
|
|
|
|
|
|
|
|
|
|
public bool WindowsIndexed { get; init; }
|
2026-01-05 01:45:32 +00:00
|
|
|
|
public List<int> HighlightData { get; init; } = [];
|
2022-03-25 21:19:00 +00:00
|
|
|
|
}
|
2022-09-10 15:45:41 +00:00
|
|
|
|
}
|