Commit e496f4b
committed
availableupdates: Refactor getting desired/current architecture
The commit does change the default behaviour of the
`getDesiredArchitecture` method. However, the method is only used once
in the `syncAvailableUpdates` method and nowhere else. The commit adds
the subsequent logic for evaluating a desired architecture to the method
itself and implements the `getCurrentArchitecture` method.
The goal is to introduces "getters" for such values where the
unified capitalization is enforced, and their return values are of the
same nature (e.g., "Multi", "amd64", ...).1 parent ccc0e36 commit e496f4b
1 file changed
+9
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 52 | + | |
61 | 53 | | |
62 | 54 | | |
63 | 55 | | |
| |||
330 | 322 | | |
331 | 323 | | |
332 | 324 | | |
333 | | - | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
334 | 333 | | |
335 | 334 | | |
336 | 335 | | |
| |||
0 commit comments