pub struct Outcome {
pub options: Rewrites,
pub num_similarity_checks: usize,
pub num_similarity_checks_skipped_for_rename_tracking_due_to_limit: usize,
pub num_similarity_checks_skipped_for_copy_tracking_due_to_limit: usize,
}
Available on crate feature
blob
only.Expand description
Information collected while handling rewrites of files which may be tracked.
Fields§
§options: Rewrites
The options used to guide the rewrite tracking. Either fully provided by the caller or retrieved from git configuration.
num_similarity_checks: usize
The amount of similarity checks that have been conducted to find renamed files and potentially copies.
num_similarity_checks_skipped_for_rename_tracking_due_to_limit: usize
Set to the amount of worst-case rename permutations we didn’t search as our limit didn’t allow it.
num_similarity_checks_skipped_for_copy_tracking_due_to_limit: usize
Set to the amount of worst-case copy permutations we didn’t search as our limit didn’t allow it.
Trait Implementations§
source§impl PartialEq for Outcome
impl PartialEq for Outcome
impl Copy for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnwindSafe for Outcome
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more