pub struct CompactOptions {
pub prune_unreferenced: bool,
}Expand description
Options for ReadonlyRefgetStore::compact_with.
Fields§
§prune_unreferenced: boolAlso delete every pack file that the new index does not reference, including packs no index ever listed (left by a crashed writer, for example). Such a pack can belong to another writer that has sealed it but not committed yet, so set this only when no other process is writing to the store.
Trait Implementations§
Source§impl Clone for CompactOptions
impl Clone for CompactOptions
impl Copy for CompactOptions
Source§impl Debug for CompactOptions
impl Debug for CompactOptions
Auto Trait Implementations§
impl Forget for CompactOptions
impl Freeze for CompactOptions
impl Move for CompactOptions
impl RefUnwindSafe for CompactOptions
impl Send for CompactOptions
impl Sync for CompactOptions
impl Unpin for CompactOptions
impl UnsafeUnpin for CompactOptions
impl UnwindSafe for CompactOptions
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