src/index/keeper.rs
changed.
Showing 1 of 1 files from the diff.
@@ -442,8 +442,12 @@
Loading
442 | 442 | } |
|
443 | 443 | ||
444 | 444 | pub fn apply(&self, persy: &PersyImpl, tx: &mut Transaction) -> PRes<()> { |
|
445 | - | for (index, values) in &self.indexex_changes { |
|
446 | - | eapplier(&values.0, &values.1, index, persy, tx)?; |
|
445 | + | let mut indexes = self.changed_indexes(); |
|
446 | + | indexes.sort(); |
|
447 | + | for index in indexes { |
|
448 | + | if let Some(values) = self.indexex_changes.get(&index) { |
|
449 | + | eapplier(&values.0, &values.1, &index, persy, tx)?; |
|
450 | + | } |
|
447 | 451 | } |
|
448 | 452 | Ok(()) |
|
449 | 453 | } |
879269795
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.