aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareRepository.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/slskd/Shares/IShareRepository.cs')
-rw-r--r--src/slskd/Shares/IShareRepository.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs
index 1ccfeb22..cb6830d6 100644
--- a/src/slskd/Shares/IShareRepository.cs
+++ b/src/slskd/Shares/IShareRepository.cs
@@ -167,8 +167,9 @@ namespace slskd.Shares
/// Searches the database for files matching the specified <paramref name="query"/>.
/// </summary>
/// <param name="query">The search query.</param>
+ /// <param name="limit">An optional row limit.</param>
/// <returns>The list of matching files.</returns>
- IEnumerable<File> Search(SearchQuery query);
+ IEnumerable<File> Search(SearchQuery query, int? limit = null);
/// <summary>
/// Attempts to validate the backing database.