pub struct SmudgeExtension {
pub name: String,
pub priority: u8,
pub command: String,
}Expand description
One pointer extension’s smudge side.
Mirrors crate::CleanExtension; the two are separate types
because clean and smudge commands come from distinct config keys
(lfs.extension.<name>.clean vs .smudge) and are consumed by
different code paths.
Fields§
§name: StringExtension name, as configured under lfs.extension.<name>.
priority: u8Single decimal digit (0-9) determining position in the chain; smudge walks extensions in reverse priority order.
command: StringRaw shell command from lfs.extension.<name>.smudge. %f
placeholders are substituted with the working-tree path.
Trait Implementations§
Source§impl Clone for SmudgeExtension
impl Clone for SmudgeExtension
Source§fn clone(&self) -> SmudgeExtension
fn clone(&self) -> SmudgeExtension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SmudgeExtension
impl RefUnwindSafe for SmudgeExtension
impl Send for SmudgeExtension
impl Sync for SmudgeExtension
impl Unpin for SmudgeExtension
impl UnsafeUnpin for SmudgeExtension
impl UnwindSafe for SmudgeExtension
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