Commit e695360
committed
move interopChild checks into State
change interop variables into an enum
reorder interopType switch statements
move interop switch-case into enum
change Throughput and fileURL Summary types
remove old unused calls
introduce terminate method requirement + rewrite implementation for additional property
change additional property string summary to [String]
change string type to use String? and [String?]
add propertiesURL as available additional property type
formatting for readability
add propertiesUInt64 as available additional property type
deinit test for additional properties + fix for deinit fractionCompleted calculation
edit test to test deinit behavior for EstimatedTimeRemaining
replace redundant deinit complete(count:) call with mark dirty + add tests for deinit bahavior
more deinit tests
additional unit tests for deinit behavior
separate string additional properties into retaining vs non-retaining version
add custom URL property unit tests
add custom UInt64 property unit tests
update documentation for additional properties methods
updated initializer
draft additional property observation fix
establish keypaths for fileCount + rename terminate to finalSummary
add observationRegistrar access calls
add observationRegistrar withMutation calls
add accessObservation to withProperties
remove fileURL
Enhancements for Additional Properties1 parent e0d4db7 commit e695360
File tree
10 files changed
+1335
-653
lines changed- Sources/FoundationEssentials/ProgressManager
- Tests/FoundationEssentialsTests/ProgressManager
10 files changed
+1335
-653
lines changedLines changed: 58 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
223 | 273 | | |
224 | 274 | | |
225 | 275 | | |
| |||
251 | 301 | | |
252 | 302 | | |
253 | 303 | | |
| 304 | + | |
| 305 | + | |
254 | 306 | | |
255 | | - | |
| 307 | + | |
256 | 308 | | |
257 | 309 | | |
258 | 310 | | |
259 | | - | |
| 311 | + | |
260 | 312 | | |
| 313 | + | |
| 314 | + | |
261 | 315 | | |
262 | 316 | | |
263 | 317 | | |
264 | | - | |
| 318 | + | |
265 | 319 | | |
266 | | - | |
| 320 | + | |
267 | 321 | | |
268 | 322 | | |
269 | 323 | | |
| |||
0 commit comments