aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJP Dillingham <jpdillingham@gmail.com>2022-09-24 16:21:40 -0500
committerJP Dillingham <jpdillingham@gmail.com>2022-09-24 16:21:40 -0500
commit196b88f9970887cbe69d1f0b7d23493204ce5990 (patch)
tree4a86ced313afb3b5ca1274ab430ec148c9e20de1 /src
parentdb73de70aa1e3d28707da66271b9962046ebcc8c (diff)
downloadslskd-196b88f9970887cbe69d1f0b7d23493204ce5990.tar.gz
add cancelled to share state
Diffstat (limited to 'src')
-rw-r--r--src/slskd/Core/State.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/slskd/Core/State.cs b/src/slskd/Core/State.cs
index 1b798ad3..519f5345 100644
--- a/src/slskd/Core/State.cs
+++ b/src/slskd/Core/State.cs
@@ -104,6 +104,7 @@ namespace slskd
public bool Scanning { get; init; }
public bool Ready { get; init; }
public bool Faulted { get; init; }
+ public bool Cancelled { get; init; }
public double ScanProgress { get; init; }
public int Directories { get; init; }
public int Files { get; init; }
@@ -126,6 +127,8 @@ namespace slskd
/// </summary>
public bool Faulted { get; init; } = false;
+ public bool Cancelled { get; init; } = false;
+
/// <summary>
/// Gets the current fill progress.
/// </summary>