diff options
| author | JP Dillingham <jpdillingham@gmail.com> | 2022-09-24 16:21:40 -0500 |
|---|---|---|
| committer | JP Dillingham <jpdillingham@gmail.com> | 2022-09-24 16:21:40 -0500 |
| commit | 196b88f9970887cbe69d1f0b7d23493204ce5990 (patch) | |
| tree | 4a86ced313afb3b5ca1274ab430ec148c9e20de1 /src | |
| parent | db73de70aa1e3d28707da66271b9962046ebcc8c (diff) | |
| download | slskd-196b88f9970887cbe69d1f0b7d23493204ce5990.tar.gz | |
add cancelled to share state
Diffstat (limited to 'src')
| -rw-r--r-- | src/slskd/Core/State.cs | 3 |
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> |
