pub struct Statistics {
pub commits_traversed: usize,
pub trees_decoded: usize,
pub trees_diffed: usize,
pub trees_diffed_with_rewrites: usize,
pub blobs_diffed: usize,
}Expand description
Additional information about the performed operations.
Fields§
§commits_traversed: usizeThe amount of commits it traversed until the blame was complete.
trees_decoded: usizeThe amount of trees that were decoded to find the entry of the file to blame.
trees_diffed: usizeThe amount of tree-diffs to see if the filepath was added, deleted or modified. These diffs are likely partial as they are cancelled as soon as a change to the blamed file is detected.
trees_diffed_with_rewrites: usizeThe amount of tree-diffs to see if the file was moved (or rewritten, in git terminology). These diffs are likely partial as they are cancelled as soon as a change to the blamed file is detected.
blobs_diffed: usizeThe amount of blobs there were compared to each other to learn what changed between commits. Note that in order to diff a blob, one needs to load both versions from the database.
Trait Implementations§
Source§impl Clone for Statistics
impl Clone for Statistics
Source§fn clone(&self) -> Statistics
fn clone(&self) -> Statistics
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more