@@ -20,15 +20,15 @@ extension ProgressManager {
2020 }
2121
2222 //MARK: Helper Methods for Updating Dirty Path
23- internal func getUpdatedIntSummary ( property: MetatypeWrapper < Int , Int > ) -> Int {
23+ internal func updatedIntSummary ( property: MetatypeWrapper < Int , Int > ) -> Int {
2424 // Collect information from state
2525 let updateInfo = state. withLock { state in
2626 state. getIntSummaryUpdateInfo ( property: property)
2727 }
2828
2929 // Get updated summary for each dirty child
3030 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
31- State . IntSummaryUpdate ( index: index, updatedSummary: child. getUpdatedIntSummary ( property: property) )
31+ State . IntSummaryUpdate ( index: index, updatedSummary: child. updatedIntSummary ( property: property) )
3232 }
3333
3434 // Consolidate updated values
@@ -37,15 +37,15 @@ extension ProgressManager {
3737 }
3838 }
3939
40- internal func getUpdatedUInt64Summary ( property: MetatypeWrapper < UInt64 , UInt64 > ) -> UInt64 {
40+ internal func updatedUInt64Summary ( property: MetatypeWrapper < UInt64 , UInt64 > ) -> UInt64 {
4141 // Collect information from state
4242 let updateInfo = state. withLock { state in
4343 state. getUInt64SummaryUpdateInfo ( property: property)
4444 }
4545
4646 // Get updated summary for each dirty child
4747 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
48- State . UInt64SummaryUpdate ( index: index, updatedSummary: child. getUpdatedUInt64Summary ( property: property) )
48+ State . UInt64SummaryUpdate ( index: index, updatedSummary: child. updatedUInt64Summary ( property: property) )
4949 }
5050
5151 // Consolidate updated values
@@ -54,15 +54,15 @@ extension ProgressManager {
5454 }
5555 }
5656
57- internal func getUpdatedDoubleSummary ( property: MetatypeWrapper < Double , Double > ) -> Double {
57+ internal func updatedDoubleSummary ( property: MetatypeWrapper < Double , Double > ) -> Double {
5858 // Collect information from state
5959 let updateInfo = state. withLock { state in
6060 state. getDoubleSummaryUpdateInfo ( property: property)
6161 }
6262
6363 // Get updated summary for each dirty child
6464 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
65- State . DoubleSummaryUpdate ( index: index, updatedSummary: child. getUpdatedDoubleSummary ( property: property) )
65+ State . DoubleSummaryUpdate ( index: index, updatedSummary: child. updatedDoubleSummary ( property: property) )
6666 }
6767
6868 // Consolidate updated values
@@ -71,15 +71,15 @@ extension ProgressManager {
7171 }
7272 }
7373
74- internal func getUpdatedStringSummary ( property: MetatypeWrapper < String ? , [ String ? ] > ) -> [ String ? ] {
74+ internal func updatedStringSummary ( property: MetatypeWrapper < String ? , [ String ? ] > ) -> [ String ? ] {
7575 // Collect information from state
7676 let updateInfo = state. withLock { state in
7777 state. getStringSummaryUpdateInfo ( property: property)
7878 }
7979
8080 // Get updated summary for each dirty child
8181 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
82- State . StringSummaryUpdate ( index: index, updatedSummary: child. getUpdatedStringSummary ( property: property) )
82+ State . StringSummaryUpdate ( index: index, updatedSummary: child. updatedStringSummary ( property: property) )
8383 }
8484
8585 // Consolidate updated values
@@ -88,15 +88,15 @@ extension ProgressManager {
8888 }
8989 }
9090
91- internal func getUpdatedURLSummary ( property: MetatypeWrapper < URL ? , [ URL ? ] > ) -> [ URL ? ] {
91+ internal func updatedURLSummary ( property: MetatypeWrapper < URL ? , [ URL ? ] > ) -> [ URL ? ] {
9292 // Collect information from state
9393 let updateInfo = state. withLock { state in
9494 state. getURLSummaryUpdateInfo ( property: property)
9595 }
9696
9797 // Get updated summary for each dirty child
9898 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
99- State . URLSummaryUpdate ( index: index, updatedSummary: child. getUpdatedURLSummary ( property: property) )
99+ State . URLSummaryUpdate ( index: index, updatedSummary: child. updatedURLSummary ( property: property) )
100100 }
101101
102102 // Consolidate updated values
@@ -105,15 +105,15 @@ extension ProgressManager {
105105 }
106106 }
107107
108- internal func getUpdatedUInt64ArraySummary ( property: MetatypeWrapper < UInt64 , [ UInt64 ] > ) -> [ UInt64 ] {
108+ internal func updatedUInt64ArraySummary ( property: MetatypeWrapper < UInt64 , [ UInt64 ] > ) -> [ UInt64 ] {
109109 // Collect information from state
110110 let updateInfo = state. withLock { state in
111111 state. getUInt64ArraySummaryUpdateInfo ( property: property)
112112 }
113113
114114 // Get updated summary for each dirty child
115115 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
116- State . UInt64ArraySummaryUpdate ( index: index, updatedSummary: child. getUpdatedUInt64ArraySummary ( property: property) )
116+ State . UInt64ArraySummaryUpdate ( index: index, updatedSummary: child. updatedUInt64ArraySummary ( property: property) )
117117 }
118118
119119 // Consolidate updated values
@@ -122,15 +122,15 @@ extension ProgressManager {
122122 }
123123 }
124124
125- internal func getUpdatedDurationSummary ( property: MetatypeWrapper < Duration , Duration > ) -> Duration {
125+ internal func updatedDurationSummary ( property: MetatypeWrapper < Duration , Duration > ) -> Duration {
126126 // Collect information from state
127127 let updateInfo = state. withLock { state in
128128 state. getDurationSummaryUpdateInfo ( property: property)
129129 }
130130
131131 // Get updated summary for each dirty child
132132 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
133- State . DurationSummaryUpdate ( index: index, updatedSummary: child. getUpdatedDurationSummary ( property: property) )
133+ State . DurationSummaryUpdate ( index: index, updatedSummary: child. updatedDurationSummary ( property: property) )
134134 }
135135
136136 // Consolidate updated values
@@ -139,15 +139,15 @@ extension ProgressManager {
139139 }
140140 }
141141
142- internal func getUpdatedFileCount ( type: CountType ) -> Int {
142+ internal func updatedFileCount ( type: CountType ) -> Int {
143143 // Collect information from state
144144 let updateInfo = state. withLock { state in
145145 state. getFileCountUpdateInfo ( type: type)
146146 }
147147
148148 // Get updated summary for each dirty child
149149 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
150- State . FileCountUpdate ( index: index, updatedSummary: child. getUpdatedFileCount ( type: type) )
150+ State . FileCountUpdate ( index: index, updatedSummary: child. updatedFileCount ( type: type) )
151151 }
152152
153153 // Consolidate updated values
@@ -156,15 +156,15 @@ extension ProgressManager {
156156 }
157157 }
158158
159- internal func getUpdatedByteCount ( type: CountType ) -> UInt64 {
159+ internal func updatedByteCount ( type: CountType ) -> UInt64 {
160160 // Collect information from state
161161 let updateInfo = state. withLock { state in
162162 state. getByteCountUpdateInfo ( type: type)
163163 }
164164
165165 // Get updated summary for each dirty child
166166 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
167- State . ByteCountUpdate ( index: index, updatedSummary: child. getUpdatedByteCount ( type: type) )
167+ State . ByteCountUpdate ( index: index, updatedSummary: child. updatedByteCount ( type: type) )
168168 }
169169
170170 // Consolidate updated values
@@ -173,32 +173,32 @@ extension ProgressManager {
173173 }
174174 }
175175
176- internal func getUpdatedThroughput ( ) -> [ UInt64 ] {
176+ internal func updatedThroughput ( ) -> [ UInt64 ] {
177177 // Collect information from state
178178 let updateInfo = state. withLock { state in
179179 state. getThroughputUpdateInfo ( )
180180 }
181181
182182 // Get updated summary for each dirty child
183183 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
184- State . ThroughputUpdate ( index: index, updatedSummary: child. getUpdatedThroughput ( ) )
184+ State . ThroughputUpdate ( index: index, updatedSummary: child. updatedThroughput ( ) )
185185 }
186186
187187 // Consolidate updated values
188188 return state. withLock { state in
189- state. getUpdatedThroughput ( updateInfo, updatedSummaries)
189+ state. updatedThroughput ( updateInfo, updatedSummaries)
190190 }
191191 }
192192
193- internal func getUpdatedEstimatedTimeRemaining ( ) -> Duration {
193+ internal func updatedEstimatedTimeRemaining ( ) -> Duration {
194194 // Collect information from state
195195 let updateInfo = state. withLock { state in
196196 state. getEstimatedTimeRemainingUpdateInfo ( )
197197 }
198198
199199 // Get updated summary for each dirty child
200200 let updatedSummaries = updateInfo. dirtyChildren. map { ( index, child) in
201- State . EstimatedTimeRemainingUpdate ( index: index, updatedSummary: child. getUpdatedEstimatedTimeRemaining ( ) )
201+ State . EstimatedTimeRemainingUpdate ( index: index, updatedSummary: child. updatedEstimatedTimeRemaining ( ) )
202202 }
203203
204204 // Consolidate updated values
0 commit comments