src/persy.rs
changed.
Showing 1 of 1 files from the diff.
@@ -427,11 +427,13 @@
Loading
427 | 427 | ||
428 | 428 | pub fn write_record_metadata(len: u64, id: &RecRef) -> Vec<u8> { |
|
429 | 429 | let mut val = Vec::new(); |
|
430 | + | val.write_u8(0); |
|
430 | 431 | val.write_varint_u64(len); |
|
431 | 432 | id.write(&mut val); |
|
432 | 433 | val |
|
433 | 434 | } |
|
434 | 435 | pub fn read_record_metadata(meta: &mut dyn InfallibleRead) -> (u64, RecRef) { |
|
436 | + | let _metadata_version = meta.read_u8(); |
|
435 | 437 | let len = meta.read_varint_u64(); |
|
436 | 438 | let id = RecRef::read(meta); |
|
437 | 439 | (len, id) |
712172254
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.