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§
impl Copy for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)