pub enum SmudgeOutcome {
Passthrough,
Resolved(Pointer),
}Expand description
Result of running the smudge filter on a piece of input.
Variants§
Passthrough
Input wasn’t a pointer (or was malformed) and was emitted to the output stream verbatim. This matches upstream’s “smudge with invalid pointer” behavior — git wraps everything through the filter, and non-LFS content has to come out unchanged.
Resolved(Pointer)
Input was a pointer; its content was streamed from the store to the output (or it was the empty pointer, which writes nothing).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SmudgeOutcome
impl RefUnwindSafe for SmudgeOutcome
impl Send for SmudgeOutcome
impl Sync for SmudgeOutcome
impl Unpin for SmudgeOutcome
impl UnsafeUnpin for SmudgeOutcome
impl UnwindSafe for SmudgeOutcome
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