pub enum TextMode {
Auto,
Text,
Binary,
}Expand description
How a path’s content is treated before encryption.
Variants§
Auto
Decide from the content, as git’s text=auto does. The default.
Text
Always normalise to LF before encrypting.
Binary
Never convert. Covers both -text and binary.
Trait Implementations§
impl Copy for TextMode
impl Eq for TextMode
impl StructuralPartialEq for TextMode
Auto Trait Implementations§
impl Freeze for TextMode
impl RefUnwindSafe for TextMode
impl Send for TextMode
impl Sync for TextMode
impl Unpin for TextMode
impl UnsafeUnpin for TextMode
impl UnwindSafe for TextMode
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