pub struct PackRewrite {
pub pack: PathBuf,
pub keep: Vec<Hash>,
}Expand description
A pack scheduled to be rewritten without some of its objects.
Fields§
§pack: PathBufPath of the pack being rewritten.
keep: Vec<Hash>Objects the replacement pack will contain: the pack’s live objects that are not covered by a loose copy or a healthy pack, sorted.
Trait Implementations§
Source§impl Clone for PackRewrite
impl Clone for PackRewrite
Source§fn clone(&self) -> PackRewrite
fn clone(&self) -> PackRewrite
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PackRewrite
impl Debug for PackRewrite
impl Eq for PackRewrite
Source§impl PartialEq for PackRewrite
impl PartialEq for PackRewrite
impl StructuralPartialEq for PackRewrite
Auto Trait Implementations§
impl Freeze for PackRewrite
impl RefUnwindSafe for PackRewrite
impl Send for PackRewrite
impl Sync for PackRewrite
impl Unpin for PackRewrite
impl UnsafeUnpin for PackRewrite
impl UnwindSafe for PackRewrite
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