pub enum CleanOutcome {
Passthrough(Pointer),
Stored(Pointer),
}Expand description
Result of running the clean filter on a piece of input.
Variants§
Passthrough(Pointer)
Input was already a valid pointer; the original bytes were emitted
to the output stream verbatim and nothing was inserted into the store.
This is what makes git lfs clean idempotent on already-cleaned blobs.
Stored(Pointer)
Input was content; it was hashed and inserted into the store, and the
canonical encoding of the resulting Pointer was written to the
output stream.
Implementations§
Source§impl CleanOutcome
impl CleanOutcome
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CleanOutcome
impl RefUnwindSafe for CleanOutcome
impl Send for CleanOutcome
impl Sync for CleanOutcome
impl Unpin for CleanOutcome
impl UnsafeUnpin for CleanOutcome
impl UnwindSafe for CleanOutcome
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