pub struct CleanExtension {
pub name: String,
pub priority: u8,
pub command: String,
}Expand description
One pointer extension’s clean side.
command is the raw command string from lfs.extension.<name>.clean,
with %f placeholders for the working-tree path. Priority is the
order index baked into the extension’s pointer line (ext-{N}-{name}).
Fields§
§name: StringExtension name, as configured under lfs.extension.<name>.
priority: u8Single decimal digit (0-9) determining position in the chain; lower priorities run earlier.
command: StringRaw shell command from lfs.extension.<name>.clean. %f
placeholders are substituted with the working-tree path.
Trait Implementations§
Source§impl Clone for CleanExtension
impl Clone for CleanExtension
Source§fn clone(&self) -> CleanExtension
fn clone(&self) -> CleanExtension
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 CleanExtension
impl RefUnwindSafe for CleanExtension
impl Send for CleanExtension
impl Sync for CleanExtension
impl Unpin for CleanExtension
impl UnsafeUnpin for CleanExtension
impl UnwindSafe for CleanExtension
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