From 2be108d7409479ad82707dc72237848fc0c909bc Mon Sep 17 00:00:00 2001 From: TheBestPessimist Date: Wed, 8 Mar 2023 13:31:51 +0200 Subject: [PATCH] formatting --- .../Search/Everything/EverythingSearchManager.cs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingSearchManager.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingSearchManager.cs index 344707892..1ea23777c 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingSearchManager.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything/EverythingSearchManager.cs @@ -39,6 +39,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search.Everything Main.Context.API.GetTranslation("flowlauncher_plugin_everything_sdk_issue")); } } + private async ValueTask ClickToInstallEverythingAsync(ActionContext _) { var installedPath = await EverythingDownloadHelper.PromptDownloadIfNotInstallAsync(Settings.EverythingInstalledPath, Main.Context.API); @@ -68,8 +69,8 @@ namespace Flow.Launcher.Plugin.Explorer.Search.Everything await foreach (var result in EverythingApi.SearchAsync(option, token)) yield return result; } - public async IAsyncEnumerable ContentSearchAsync(string plainSearch, - string contentSearch, + + public async IAsyncEnumerable ContentSearchAsync(string plainSearch, string contentSearch, [EnumeratorCancellation] CancellationToken token) { await ThrowIfEverythingNotAvailableAsync(token); @@ -102,6 +103,7 @@ namespace Flow.Launcher.Plugin.Explorer.Search.Everything yield return result; } } + public async IAsyncEnumerable EnumerateAsync(string path, string search, bool recursive, [EnumeratorCancellation] CancellationToken token) { await ThrowIfEverythingNotAvailableAsync(token);