aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/Shares/IShareService.cs
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-06-02 07:28:10 -0500
committerJP Dillingham <jp@dillingham.me>2022-06-02 07:28:10 -0500
commit2efd8278ce9a5a895fe0c75bd95080ecc386163b (patch)
tree4637e61c969639df8475ed6bb4aeac5437c35b64 /src/slskd/Shares/IShareService.cs
parentcbffe2d38e5b7b0831eeacff7ba1ef7973f4f85c (diff)
downloadslskd-2efd8278ce9a5a895fe0c75bd95080ecc386163b.tar.gz
differentiate configured shares vs cached shares
Diffstat (limited to 'src/slskd/Shares/IShareService.cs')
-rw-r--r--src/slskd/Shares/IShareService.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/Shares/IShareService.cs b/src/slskd/Shares/IShareService.cs
index 16f1a890..fd88f2b0 100644
--- a/src/slskd/Shares/IShareService.cs
+++ b/src/slskd/Shares/IShareService.cs
@@ -27,6 +27,11 @@ namespace slskd.Shares
public interface IShareService
{
/// <summary>
+ /// Gets the list of shares stored in the cache.
+ /// </summary>
+ IReadOnlyList<Share> CachedShares { get; }
+
+ /// <summary>
/// Gets the list of configured shares.
/// </summary>
IReadOnlyList<Share> Shares { get; }