@@ -15,31 +15,43 @@ extension ProgressReporter {
1515 public struct Properties : Sendable {
1616 public var totalFileCount : TotalFileCount . Type { TotalFileCount . self }
1717 public struct TotalFileCount : Sendable , Property {
18+ public static var defaultValue : Int { return 0 }
19+
1820 public typealias T = Int
1921 }
2022
2123 public var completedFileCount : CompletedFileCount . Type { CompletedFileCount . self }
2224 public struct CompletedFileCount : Sendable , Property {
25+ public static var defaultValue : Int { return 0 }
26+
2327 public typealias T = Int
2428 }
2529
2630 public var totalByteCount : TotalByteCount . Type { TotalByteCount . self }
2731 public struct TotalByteCount : Sendable , Property {
32+ public static var defaultValue : Int64 { return 0 }
33+
2834 public typealias T = Int64
2935 }
3036
3137 public var completedByteCount : CompletedByteCount . Type { CompletedByteCount . self }
3238 public struct CompletedByteCount : Sendable , Property {
39+ public static var defaultValue : Int64 { return 0 }
40+
3341 public typealias T = Int64
3442 }
3543
3644 public var throughput : Throughput . Type { Throughput . self }
3745 public struct Throughput : Sendable , Property {
46+ public static var defaultValue : Int64 { return 0 }
47+
3848 public typealias T = Int64
3949 }
4050
4151 public var estimatedTimeRemaining : EstimatedTimeRemaining . Type { EstimatedTimeRemaining . self }
4252 public struct EstimatedTimeRemaining : Sendable , Property {
53+ public static var defaultValue : Duration { return Duration . seconds ( 0 ) }
54+
4355 public typealias T = Duration
4456 }
4557 }
0 commit comments