File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed
Plugins/Flow.Launcher.Plugin.Explorer/Search/Everything Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change @@ -152,7 +152,7 @@ public static async IAsyncEnumerable<SearchResult> SearchAsync(EverythingSearchO
152
152
EverythingApiDllImport . Everything_SetMax ( option . MaxCount ) ;
153
153
154
154
EverythingApiDllImport . Everything_SetSort ( option . SortOption ) ;
155
- EverythingApiDllImport . Everything_SetMatchPath ( true ) ;
155
+ EverythingApiDllImport . Everything_SetMatchPath ( option . IsFullPathSearch ) ;
156
156
157
157
if ( token . IsCancellationRequested ) yield break ;
158
158
Original file line number Diff line number Diff line change 3
3
4
4
namespace Flow . Launcher . Plugin . Explorer . Search . Everything
5
5
{
6
- public record struct EverythingSearchOption ( string Keyword ,
6
+ public record struct EverythingSearchOption (
7
+ string Keyword ,
7
8
SortOption SortOption ,
8
- bool IsContentSearch = false ,
9
+ bool IsContentSearch = false ,
9
10
string ContentSearchKeyword = default ,
10
11
string ParentPath = default ,
11
12
bool IsRecursive = true ,
12
- int Offset = 0 ,
13
- int MaxCount = 100 ) ;
13
+ int Offset = 0 ,
14
+ int MaxCount = 100 ,
15
+ bool IsFullPathSearch = true
16
+ ) ;
14
17
}
You can’t perform that action at this time.
0 commit comments