Enum gix_filter::pipeline::CrlfRoundTripCheck
source · pub enum CrlfRoundTripCheck {
Fail,
Warn,
Skip,
}
Expand description
Define how to perform CRLF round-trip checking when converting to git.
Variants§
Fail
Fail with an error if CRLF conversion isn’t round-trip safe.
Warn
Emit a warning using gix_trace::warn!
, but don’t fail.
Note that the parent application has to setup tracing to make these events visible, along with a parent span!
.
Skip
Do nothing, do not perform round-trip check at all.
Trait Implementations§
source§impl Clone for CrlfRoundTripCheck
impl Clone for CrlfRoundTripCheck
source§fn clone(&self) -> CrlfRoundTripCheck
fn clone(&self) -> CrlfRoundTripCheck
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CrlfRoundTripCheck
impl Debug for CrlfRoundTripCheck
source§impl Default for CrlfRoundTripCheck
impl Default for CrlfRoundTripCheck
source§fn default() -> CrlfRoundTripCheck
fn default() -> CrlfRoundTripCheck
Returns the “default value” for a type. Read more
source§impl PartialEq for CrlfRoundTripCheck
impl PartialEq for CrlfRoundTripCheck
impl Copy for CrlfRoundTripCheck
impl Eq for CrlfRoundTripCheck
impl StructuralPartialEq for CrlfRoundTripCheck
Auto Trait Implementations§
impl Freeze for CrlfRoundTripCheck
impl RefUnwindSafe for CrlfRoundTripCheck
impl Send for CrlfRoundTripCheck
impl Sync for CrlfRoundTripCheck
impl Unpin for CrlfRoundTripCheck
impl UnwindSafe for CrlfRoundTripCheck
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
)