aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
-rw-r--r--src/slskd/Shares/IShareService.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs
index 7db9671b..3b379c98 100644
--- a/src/slskd/Shares/IShareService.cs
+++ b/src/slskd/Shares/IShareService.cs
@@ -109,8 +109,9 @@ namespace slskd.Shares
/// Searches the cache for the specified <paramref name="query"/> and returns the matching files.
/// </summary>
/// <param name="query">The query for which to search.</param>
+ /// <param name="limit">An optional row limit.</param>
/// <returns>The matching files.</returns>
- Task<IEnumerable<File>> SearchAsync(SearchQuery query);
+ Task<IEnumerable<File>> SearchAsync(SearchQuery query, int? limit = null);
/// <summary>
/// Cancels the currently running scan on the local host, if one is running.