From 14827ae832d04e8df0058bb4a580de2ec84cb2bd Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 18 Jan 2026 16:43:52 -0600 Subject: add the ability to pass a limit to share search --- src/slskd/Shares/IShareService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/slskd/Shares/IShareService.cs') 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 and returns the matching files. /// /// The query for which to search. + /// An optional row limit. /// The matching files. - Task> SearchAsync(SearchQuery query); + Task> SearchAsync(SearchQuery query, int? limit = null); /// /// Cancels the currently running scan on the local host, if one is running. -- cgit v1.2.3