mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Update method comments
This commit is contained in:
parent
f4ae5badf5
commit
e87a3a2e61
1 changed files with 5 additions and 3 deletions
|
|
@ -1,4 +1,4 @@
|
|||
using Microsoft.Search.Interop;
|
||||
using Microsoft.Search.Interop;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
|
@ -43,14 +43,16 @@ namespace Flow.Launcher.Plugin.Explorer.Search.WindowsIndex
|
|||
}
|
||||
|
||||
///<summary>
|
||||
/// Search will be performed on all folders and files on the first level of a specified directory.
|
||||
/// Set the required WHERE clause restriction to search on the first level of a specified directory.
|
||||
///</summary>
|
||||
public string QueryWhereRestrictionsForTopLevelDirectorySearch(string path)
|
||||
{
|
||||
// Set query restriction for top level directory search
|
||||
return $"directory='file:{path}'";
|
||||
}
|
||||
|
||||
///<summary>
|
||||
/// Search will be performed on all folders and files on the first level of a specified directory.
|
||||
///</summary>
|
||||
public string QueryForTopLevelDirectorySearch(string folderPath)
|
||||
{
|
||||
string query = "SELECT TOP " + _settings.MaxResult + $" {CreateBaseQuery().QuerySelectColumns} FROM {SystemIndex} WHERE ";
|
||||
|
|
|
|||
Loading…
Reference in a new issue