pub struct PackLookupOptions {
pub skip_midx_covered_packs: bool,
pub only_midx_covered_packs: bool,
}Expand description
Options controlling which local packs participate in a lookup pass.
Fields§
§skip_midx_covered_packs: boolWhen true, skip pack indexes named in the active multi-pack-index (MIDX lookup runs separately).
only_midx_covered_packs: boolWhen true, search only pack indexes named in the active MIDX (rescue pass after a MIDX miss).
Implementations§
Source§impl PackLookupOptions
impl PackLookupOptions
Sourcepub const ALL_LOCAL_PACKS: Self
pub const ALL_LOCAL_PACKS: Self
Search every local pack (including MIDX-covered indexes).
Sourcepub const MIDX_COVERED_PACKS: Self
pub const MIDX_COVERED_PACKS: Self
Search only MIDX-listed pack indexes (Git redundant-pack rescue when MIDX lookup missed).
Trait Implementations§
Source§impl Clone for PackLookupOptions
impl Clone for PackLookupOptions
impl Copy for PackLookupOptions
Source§impl Debug for PackLookupOptions
impl Debug for PackLookupOptions
Auto Trait Implementations§
impl Freeze for PackLookupOptions
impl RefUnwindSafe for PackLookupOptions
impl Send for PackLookupOptions
impl Sync for PackLookupOptions
impl Unpin for PackLookupOptions
impl UnsafeUnpin for PackLookupOptions
impl UnwindSafe for PackLookupOptions
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