aboutsummaryrefslogtreecommitdiffstats
path: root/src/slskd/State.cs
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2021-12-16 07:35:41 -0600
committerGitHub <noreply@github.com>2021-12-16 07:35:41 -0600
commitb7f6e2c305df5181205c8eec506cd60814ea9db2 (patch)
treed9056079e299f1aac22b370d5eca486528525881 /src/slskd/State.cs
parent51bcb8d1bed3a01df06fa85b5a252e3c06689e05 (diff)
parent6239a3ef944529ef9b8d394f696d38293c154fe2 (diff)
downloadslskd-b7f6e2c305df5181205c8eec506cd60814ea9db2.tar.gz
Merge pull request #305 from slskd/shares
Respond to search, browse, and directory contents requests appropriately while the cache is unfilled
Diffstat (limited to 'src/slskd/State.cs')
-rw-r--r--src/slskd/State.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/slskd/State.cs b/src/slskd/State.cs
index d07c603a..4c3deff8 100644
--- a/src/slskd/State.cs
+++ b/src/slskd/State.cs
@@ -70,6 +70,11 @@ namespace slskd
public bool Filling { get; init; } = false;
/// <summary>
+ /// Gets a value indicating whether the cache is filled.
+ /// </summary>
+ public bool Filled { get; init; } = false;
+
+ /// <summary>
/// Gets a value indicating whether the cache is faulted.
/// </summary>
public bool Faulted { get; init; } = false;