pub fn create_updated(&mut self, repo: &Repository, baseline: &Tree<'_>) -> Result<Oid, Error> {
        let mut ret = raw::git_oid {
            id: [0; raw::GIT_OID_RAWSZ],
        };
        unsafe {
            try_call!(raw::git_tree_create_updated(
                &mut ret,
                repo.raw(),
                baseline.raw(),
                self.updates.len(),
                self.updates.as_ptr()
            ));
            Ok(Binding::from_raw(&ret as *const _))
        }
    }
/// Create a new tree from the specified baseline and this series of updates.
///
/// The baseline tree must exist in the specified repository.
Create a new tree from the specified baseline and this series of updates.
The baseline tree must exist in the specified repository.
Create a new tree from the specified baseline and this series of updates . The baseline tree must exist in the specified repository .
pub fn create_updated(&mut self, repo: &Repository, baseline: &Tree<'_>) -> Result<Oid, Error> {
        let mut ret = raw::git_oid {
            id: [0; raw::GIT_OID_RAWSZ],
        };
        unsafe {
            try_call!(raw::git_tree_create_updated(
                &mut ret,
                repo.raw(),
                baseline.raw(),
                self.updates.len(),
                self.updates.as_ptr()
            ));
            Ok(Binding::from_raw(&ret as *const _))
        }
    }
pub fn create_updated ( & mut self , repo : & Repository , baseline : & Tree < ' _ > ) -> Result < Oid , Error > { let mut ret = raw :: git_oid { id : [ 0 ; raw :: GIT_OID_RAWSZ ] , } ; unsafe { try_call ! ( raw git_tree_create_updated ( mut ret repo raw ( ) baseline raw ( ) self updates len ( ) self updates as_ptr ( ) ) ) ; Ok ( Binding :: from_raw ( & ret as * const _ ) ) } }
Create a new tree from the specified baseline and this series of updates.
Create a new tree from the specified baseline and this series of updates .
&mut self
repo
&Repository
baseline
&Tree<'_>
&mut self
repo
&Repository
baseline
&Tree<'_>