Skip to content

Commit b13718f

Browse files
committed
make progress reporter properties public
1 parent 647187c commit b13718f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Sources/FoundationEssentials/ProgressManager/ProgressReporter.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,32 @@ import Observation
1919
@Observable public final class ProgressReporter: Sendable {
2020

2121
/// The total units of work.
22-
var totalCount: Int? {
22+
public var totalCount: Int? {
2323
manager.totalCount
2424
}
2525

2626
/// The completed units of work.
2727
/// If `self` is indeterminate, the value will be 0.
28-
var completedCount: Int {
28+
public var completedCount: Int {
2929
manager.completedCount
3030
}
3131

3232
/// The proportion of work completed.
3333
/// This takes into account the fraction completed in its children instances if children are present.
3434
/// If `self` is indeterminate, the value will be 0.
35-
var fractionCompleted: Double {
35+
public var fractionCompleted: Double {
3636
manager.fractionCompleted
3737
}
3838

3939
/// The state of initialization of `totalCount`.
4040
/// If `totalCount` is `nil`, the value will be `true`.
41-
var isIndeterminate: Bool {
41+
public var isIndeterminate: Bool {
4242
manager.isIndeterminate
4343
}
4444

4545
/// The state of completion of work.
4646
/// If `completedCount` >= `totalCount`, the value will be `true`.
47-
var isFinished: Bool {
47+
public var isFinished: Bool {
4848
manager.isFinished
4949
}
5050

0 commit comments

Comments
 (0)