pub struct PackBuilder { /* private fields */ }Expand description
Builds a pack file from a set of objects.
Implementations§
Source§impl PackBuilder
impl PackBuilder
Sourcepub fn add_from_store(
&mut self,
store: &ObjectStore,
id: &ObjectId,
) -> Result<()>
pub fn add_from_store( &mut self, store: &ObjectStore, id: &ObjectId, ) -> Result<()>
Adds an object from the store by ID.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PackBuilder
impl RefUnwindSafe for PackBuilder
impl Send for PackBuilder
impl Sync for PackBuilder
impl Unpin for PackBuilder
impl UnwindSafe for PackBuilder
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