pub enum Filter {
BlobNone,
BlobLimit(u64),
TreeDepth(usize),
}Expand description
A partial-clone filter gunnar implements.
Variants§
BlobNone
blob:none: trees and commits only.
BlobLimit(u64)
blob:limit=<n> omits blobs strictly larger than n bytes.
TreeDepth(usize)
tree:<depth> omits trees below depth, and every blob under them.
tree:0 yields no trees or blobs at all.
Implementations§
Trait Implementations§
impl Copy for Filter
impl Eq for Filter
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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