pub struct MergeinfoCatalog { /* private fields */ }Expand description
A catalog of mergeinfo, mapping paths to their mergeinfo.
This is essentially a hash table where keys are repository paths and values are Mergeinfo objects.
Implementations§
Source§impl MergeinfoCatalog
impl MergeinfoCatalog
Sourcepub fn merge(
&mut self,
changes: &MergeinfoCatalog,
) -> Result<(), Error<'static>>
pub fn merge( &mut self, changes: &MergeinfoCatalog, ) -> Result<(), Error<'static>>
Merge changes from another catalog into this one.
Sourcepub fn dup(&self) -> MergeinfoCatalog
pub fn dup(&self) -> MergeinfoCatalog
Duplicate this catalog.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MergeinfoCatalog
impl RefUnwindSafe for MergeinfoCatalog
impl !Send for MergeinfoCatalog
impl !Sync for MergeinfoCatalog
impl Unpin for MergeinfoCatalog
impl UnsafeUnpin for MergeinfoCatalog
impl UnwindSafe for MergeinfoCatalog
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