Skip to content

Commit c2d4066

Browse files
committed
remove duplicate summary methods
1 parent 5aa67da commit c2d4066

File tree

1 file changed

+0
-96
lines changed

1 file changed

+0
-96
lines changed

Proposals/0023-progress-manager.md

Lines changed: 0 additions & 96 deletions
Original file line numberDiff line numberDiff line change
@@ -1032,54 +1032,6 @@ extension ProgressManager {
10321032
/// where both the value and summary types are `Duration`.
10331033
/// - Returns: An `Duration` summary value for the specified property.
10341034
public func summary<P: Property>(of property: P.Type) -> P.Summary where P.Value == Duration, P.Summary == Duration
1035-
1036-
/// Returns the total file count across the progress subtree.
1037-
///
1038-
/// This includes the total file count of `ProgressManager`s that are finished.
1039-
///
1040-
/// - Parameter property: The `TotalFileCount` property type.
1041-
/// - Returns: An `Int` summary value for total file count.
1042-
public func summary(of property: ProgressManager.Properties.TotalFileCount.Type) -> Int
1043-
1044-
/// Returns the completed file count across the progress subtree.
1045-
///
1046-
/// This includes the completed file count of `ProgressManager`s that are finished.
1047-
///
1048-
/// - Parameter property: The `CompletedFileCount` property type.
1049-
/// - Returns: An `Int` summary value for completed file count.
1050-
public func summary(of property: ProgressManager.Properties.CompletedFileCount.Type) -> Int
1051-
1052-
/// Returns the total byte count across the progress subtree.
1053-
///
1054-
/// This includes the total byte count of `ProgressManager`s that are finished.
1055-
///
1056-
/// - Parameter property: The `TotalByteCount` property type.
1057-
/// - Returns: A `UInt64` summary value for total byte count.
1058-
public func summary(of property: ProgressManager.Properties.TotalByteCount.Type) -> UInt64
1059-
1060-
/// Returns the completed byte count across the progress subtree.
1061-
///
1062-
/// This includes the completed byte count of `ProgressManager`s that are finished.
1063-
///
1064-
/// - Parameter property: The `CompletedByteCount` property type.
1065-
/// - Returns: A `UInt64` summary value for completed byte count.
1066-
public func summary(of property: ProgressManager.Properties.CompletedByteCount.Type) -> UInt64
1067-
1068-
/// Returns throughput values across the progress subtree.
1069-
///
1070-
/// This includes the throughput of `ProgressManager`s that are finished.
1071-
///
1072-
/// - Parameter property: The `Throughput` property type.
1073-
/// - Returns: A `[UInt64]` summary value for throughput.
1074-
public func summary(of property: ProgressManager.Properties.Throughput.Type) -> [UInt64]
1075-
1076-
/// Returns the maximum estimated time remaining for completion across the progress subtree.
1077-
///
1078-
/// This does not include the estimated time remaining of `ProgressManager`s that are finished.
1079-
///
1080-
/// - Parameter property: The `EstimatedTimeRemaining` property type.
1081-
/// - Returns: A `Duration` summary value for estimated time remaining to completion.
1082-
public func summary(of property: ProgressManager.Properties.EstimatedTimeRemaining.Type) -> Duration
10831035
}
10841036
```
10851037

@@ -1195,54 +1147,6 @@ extension ProgressManager {
11951147
/// where both the value and summary types are `Duration`.
11961148
/// - Returns: An `Duraton` summary value for the specified property.
11971149
public func summary<P: ProgressManager.Property>(of property: P.Type) -> Duration where P.Value == Duration, P.Summary == Duration
1198-
1199-
/// Returns the total file count across the progress subtree.
1200-
///
1201-
/// This includes the total file count of `ProgressManager`s that are finished.
1202-
///
1203-
/// - Parameter property: The `TotalFileCount` property type.
1204-
/// - Returns: The sum of all total file counts across the entire progress subtree.
1205-
public func summary(of property: ProgressManager.Properties.TotalFileCount.Type) -> Int
1206-
1207-
/// Returns the completed file count across the progress subtree.
1208-
///
1209-
/// This includes the completed file count of `ProgressManager`s that are finished.
1210-
///
1211-
/// - Parameter property: The `CompletedFileCount` property type.
1212-
/// - Returns: The sum of all completed file counts across the entire progress subtree.
1213-
public func summary(of property: ProgressManager.Properties.CompletedFileCount.Type) -> Int
1214-
1215-
/// Returns the total byte count across the progress subtree.
1216-
///
1217-
/// This includes the total byte count of `ProgressManager`s that are finished.
1218-
///
1219-
/// - Parameter property: The `TotalByteCount` property type.
1220-
/// - Returns: The sum of all total byte counts across the entire progress subtree, in bytes.
1221-
public func summary(of property: ProgressManager.Properties.TotalByteCount.Type) -> UInt64
1222-
1223-
/// Returns the completed byte count across the progress subtree.
1224-
///
1225-
/// This includes the completed byte count of `ProgressManager`s that are finished.
1226-
///
1227-
/// - Parameter property: The `CompletedByteCount` property type.
1228-
/// - Returns: The sum of all completed byte counts across the entire progress subtree, in bytes.
1229-
public func summary(of property: ProgressManager.Properties.CompletedByteCount.Type) -> UInt64
1230-
1231-
/// Returns the average throughput across the progress subtree.
1232-
///
1233-
/// This includes the throughput of `ProgressManager`s that are finished.
1234-
///
1235-
/// - Parameter property: The `Throughput` property type.
1236-
/// - Returns: An array of throughput across the entire progress subtree, in bytes per second.
1237-
public func summary(of property: ProgressManager.Properties.Throughput.Type) -> [UInt64]
1238-
1239-
/// Returns the maximum estimated time remaining for completion across the progress subtree.
1240-
///
1241-
/// This does not include the estimated time remaining of `ProgressManager`s that are finished.
1242-
///
1243-
/// - Parameter property: The `EstimatedTimeRemaining` property type.
1244-
/// - Returns: The estimated duration until completion for the entire progress subtree.
1245-
public func summary(of property: ProgressManager.Properties.EstimatedTimeRemaining.Type) -> Duration
12461150
}
12471151
```
12481152

0 commit comments

Comments
 (0)