From bd338423afb1f8d361deccfd4786e7ec4b27e8dc Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Wed, 27 Dec 2023 12:12:02 -0600 Subject: simplify (and implement) list options --- src/slskd/Shares/IShareRepository.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/slskd/Shares/IShareRepository.cs') diff --git a/src/slskd/Shares/IShareRepository.cs b/src/slskd/Shares/IShareRepository.cs index 5546bff7..41b0fe32 100644 --- a/src/slskd/Shares/IShareRepository.cs +++ b/src/slskd/Shares/IShareRepository.cs @@ -19,7 +19,6 @@ namespace slskd.Shares { using System; using System.Collections.Generic; - using System.Linq.Expressions; using Soulseek; /// @@ -132,11 +131,12 @@ namespace slskd.Shares IEnumerable ListFiles(string parentDirectory = null, bool includeFullPath = false); /// - /// Returns the list of all s matching the optionally specified . + /// Returns the list of all started at or after the specified + /// unix timestamp. /// - /// An optional expression used to filter scans. + /// A unix timestamp that serves as the lower bound of the time-based listing. /// The operation context, including the list of found scans. - IEnumerable ListScans(Expression> predicate = null); + IEnumerable ListScans(long startedAtOrAfter = 0); /// /// Deletes directory records with a timestamp prior to the specified . -- cgit v1.2.3