@@ -23,15 +23,15 @@ extension ProgressManager {
2323 }
2424
2525 //MARK: Helper Methods for Updating Dirty Path
26- internal func updatedIntSummary ( property: MetatypeWrapper < Int , Int > ) -> Int {
26+ internal func updateIntSummary ( property: MetatypeWrapper < Int , Int > ) -> Int {
2727 // Get information about dirty children and summaries of non-dirty children
2828 let updateInfo = state. withLock { state in
2929 state. getIntSummaryUpdateInfo ( property: property)
3030 }
3131
3232 // Get updated summary for each dirty child
3333 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
34- State . IntSummaryUpdate ( index: index, updatedSummary: child. updatedIntSummary ( property: property) )
34+ State . IntSummaryUpdate ( index: index, updatedSummary: child. updateIntSummary ( property: property) )
3535 }
3636
3737 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -40,15 +40,15 @@ extension ProgressManager {
4040 }
4141 }
4242
43- internal func updatedUInt64Summary ( property: MetatypeWrapper < UInt64 , UInt64 > ) -> UInt64 {
43+ internal func updateUInt64Summary ( property: MetatypeWrapper < UInt64 , UInt64 > ) -> UInt64 {
4444 // Get information about dirty children and summaries of non-dirty children
4545 let updateInfo = state. withLock { state in
4646 state. getUInt64SummaryUpdateInfo ( property: property)
4747 }
4848
4949 // Get updated summary for each dirty child
5050 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
51- State . UInt64SummaryUpdate ( index: index, updatedSummary: child. updatedUInt64Summary ( property: property) )
51+ State . UInt64SummaryUpdate ( index: index, updatedSummary: child. updateUInt64Summary ( property: property) )
5252 }
5353
5454 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -57,15 +57,15 @@ extension ProgressManager {
5757 }
5858 }
5959
60- internal func updatedDoubleSummary ( property: MetatypeWrapper < Double , Double > ) -> Double {
60+ internal func updateDoubleSummary ( property: MetatypeWrapper < Double , Double > ) -> Double {
6161 // Get information about dirty children and summaries of non-dirty children
6262 let updateInfo = state. withLock { state in
6363 state. getDoubleSummaryUpdateInfo ( property: property)
6464 }
6565
6666 // Get updated summary for each dirty child
6767 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
68- State . DoubleSummaryUpdate ( index: index, updatedSummary: child. updatedDoubleSummary ( property: property) )
68+ State . DoubleSummaryUpdate ( index: index, updatedSummary: child. updateDoubleSummary ( property: property) )
6969 }
7070
7171 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -74,15 +74,15 @@ extension ProgressManager {
7474 }
7575 }
7676
77- internal func updatedStringSummary ( property: MetatypeWrapper < String ? , [ String ? ] > ) -> [ String ? ] {
77+ internal func updateStringSummary ( property: MetatypeWrapper < String ? , [ String ? ] > ) -> [ String ? ] {
7878 // Get information about dirty children and summaries of non-dirty children
7979 let updateInfo = state. withLock { state in
8080 state. getStringSummaryUpdateInfo ( property: property)
8181 }
8282
8383 // Get updated summary for each dirty child
8484 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
85- State . StringSummaryUpdate ( index: index, updatedSummary: child. updatedStringSummary ( property: property) )
85+ State . StringSummaryUpdate ( index: index, updatedSummary: child. updateStringSummary ( property: property) )
8686 }
8787
8888 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -91,15 +91,15 @@ extension ProgressManager {
9191 }
9292 }
9393
94- internal func updatedURLSummary ( property: MetatypeWrapper < URL ? , [ URL ? ] > ) -> [ URL ? ] {
94+ internal func updateURLSummary ( property: MetatypeWrapper < URL ? , [ URL ? ] > ) -> [ URL ? ] {
9595 // Get information about dirty children and summaries of non-dirty children
9696 let updateInfo = state. withLock { state in
9797 state. getURLSummaryUpdateInfo ( property: property)
9898 }
9999
100100 // Get updated summary for each dirty child
101101 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
102- State . URLSummaryUpdate ( index: index, updatedSummary: child. updatedURLSummary ( property: property) )
102+ State . URLSummaryUpdate ( index: index, updatedSummary: child. updateURLSummary ( property: property) )
103103 }
104104
105105 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -108,15 +108,15 @@ extension ProgressManager {
108108 }
109109 }
110110
111- internal func updatedUInt64ArraySummary ( property: MetatypeWrapper < UInt64 , [ UInt64 ] > ) -> [ UInt64 ] {
111+ internal func updateUInt64ArraySummary ( property: MetatypeWrapper < UInt64 , [ UInt64 ] > ) -> [ UInt64 ] {
112112 // Get information about dirty children and summaries of non-dirty children
113113 let updateInfo = state. withLock { state in
114114 state. getUInt64ArraySummaryUpdateInfo ( property: property)
115115 }
116116
117117 // Get updated summary for each dirty child
118118 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
119- State . UInt64ArraySummaryUpdate ( index: index, updatedSummary: child. updatedUInt64ArraySummary ( property: property) )
119+ State . UInt64ArraySummaryUpdate ( index: index, updatedSummary: child. updateUInt64ArraySummary ( property: property) )
120120 }
121121
122122 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -125,15 +125,15 @@ extension ProgressManager {
125125 }
126126 }
127127
128- internal func updatedDurationSummary ( property: MetatypeWrapper < Duration , Duration > ) -> Duration {
128+ internal func updateDurationSummary ( property: MetatypeWrapper < Duration , Duration > ) -> Duration {
129129 // Get information about dirty children and summaries of non-dirty children
130130 let updateInfo = state. withLock { state in
131131 state. getDurationSummaryUpdateInfo ( property: property)
132132 }
133133
134134 // Get updated summary for each dirty child
135135 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
136- State . DurationSummaryUpdate ( index: index, updatedSummary: child. updatedDurationSummary ( property: property) )
136+ State . DurationSummaryUpdate ( index: index, updatedSummary: child. updateDurationSummary ( property: property) )
137137 }
138138
139139 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -142,15 +142,15 @@ extension ProgressManager {
142142 }
143143 }
144144
145- internal func updatedFileCount ( type: CountType ) -> Int {
145+ internal func updateFileCount ( type: CountType ) -> Int {
146146 // Get information about dirty children and summaries of non-dirty children
147147 let updateInfo = state. withLock { state in
148148 state. getFileCountUpdateInfo ( type: type)
149149 }
150150
151151 // Get updated summary for each dirty child
152152 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
153- State . FileCountUpdate ( index: index, updatedSummary: child. updatedFileCount ( type: type) )
153+ State . FileCountUpdate ( index: index, updatedSummary: child. updateFileCount ( type: type) )
154154 }
155155
156156 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -159,15 +159,15 @@ extension ProgressManager {
159159 }
160160 }
161161
162- internal func updatedByteCount ( type: CountType ) -> UInt64 {
162+ internal func updateByteCount ( type: CountType ) -> UInt64 {
163163 // Get information about dirty children and summaries of non-dirty children
164164 let updateInfo = state. withLock { state in
165165 state. getByteCountUpdateInfo ( type: type)
166166 }
167167
168168 // Get updated summary for each dirty child
169169 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
170- State . ByteCountUpdate ( index: index, updatedSummary: child. updatedByteCount ( type: type) )
170+ State . ByteCountUpdate ( index: index, updatedSummary: child. updateByteCount ( type: type) )
171171 }
172172
173173 // Consolidate updated summaries of dirty children and summaries of non-dirty children
@@ -176,32 +176,32 @@ extension ProgressManager {
176176 }
177177 }
178178
179- internal func updatedThroughput ( ) -> [ UInt64 ] {
179+ internal func updateThroughput ( ) -> [ UInt64 ] {
180180 // Get information about dirty children and summaries of non-dirty children
181181 let updateInfo = state. withLock { state in
182182 state. getThroughputUpdateInfo ( )
183183 }
184184
185185 // Get updated summary for each dirty child
186186 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
187- State . ThroughputUpdate ( index: index, updatedSummary: child. updatedThroughput ( ) )
187+ State . ThroughputUpdate ( index: index, updatedSummary: child. updateThroughput ( ) )
188188 }
189189
190190 // Consolidate updated summaries of dirty children and summaries of non-dirty children
191191 return state. withLock { state in
192- state. updatedThroughput ( updateInfo, updatedSummaries)
192+ state. updateThroughput ( updateInfo, updatedSummaries)
193193 }
194194 }
195195
196- internal func updatedEstimatedTimeRemaining ( ) -> Duration {
196+ internal func updateEstimatedTimeRemaining ( ) -> Duration {
197197 // Get information about dirty children and summaries of non-dirty children
198198 let updateInfo = state. withLock { state in
199199 state. getEstimatedTimeRemainingUpdateInfo ( )
200200 }
201201
202202 // Get updated summary for each dirty child
203203 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
204- State . EstimatedTimeRemainingUpdate ( index: index, updatedSummary: child. updatedEstimatedTimeRemaining ( ) )
204+ State . EstimatedTimeRemainingUpdate ( index: index, updatedSummary: child. updateEstimatedTimeRemaining ( ) )
205205 }
206206
207207 // Consolidate updated summaries of dirty children and summaries of non-dirty children
0 commit comments