aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/slskd/Application/Shares/SharedFileCacheState.cs13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/slskd/Application/Shares/SharedFileCacheState.cs b/src/slskd/Application/Shares/SharedFileCacheState.cs
index 4bda9d7b..37ac9f86 100644
--- a/src/slskd/Application/Shares/SharedFileCacheState.cs
+++ b/src/slskd/Application/Shares/SharedFileCacheState.cs
@@ -25,14 +25,19 @@ namespace slskd.Shares
public record SharedFileCacheState()
{
/// <summary>
- /// Gets a value indicating whether the cache is ready to be used.
+ /// Gets a value indicating whether the cache is being filled.
/// </summary>
- public bool Ready { get; init; } = true;
+ public bool Filling { get; init; } = false;
+
+ /// <summary>
+ /// Gets a value indicating whether the cache is faulted.
+ /// </summary>
+ public bool Faulted { get; init; } = false;
/// <summary>
/// Gets the current fill progress.
/// </summary>
- public double FillProgress { get; init; } = 1;
+ public double FillProgress { get; init; }
/// <summary>
/// Gets the number of cached directories.
@@ -49,4 +54,4 @@ namespace slskd.Shares
/// </summary>
public DateTime? LastFilled { get; init; }
}
-}
+} \ No newline at end of file