pub fn write_tree(&mut self) -> Result<Oid, Error> {
        let mut raw = raw::git_oid { id: [0, ..raw::GIT_OID_RAWSZ] };
        unsafe {
            try_call!(raw::git_index_write_tree(&mut raw, self.raw));
            Ok(Oid::from_raw(&raw))
        }
    }
/// Write the index as a tree.
///
/// This method will scan the index and write a representation of its
/// current state back to disk; it recursively creates tree objects for each
/// of the subtrees stored in the index, but only returns the OID of the
/// root tree. This is the OID that can be used e.g. to create a commit.
///
/// The index instance cannot be bare, and needs to be associated to an
/// existing repository.
///
/// The index must not contain any file in conflict.
Write the index as a tree.
This method will scan the index and write a representation of its
current state back to disk; it recursively creates tree objects for each
of the subtrees stored in the index, but only returns the OID of the
root tree. This is the OID that can be used e.g. to create a commit.

The index instance cannot be bare, and needs to be associated to an
existing repository.

The index must not contain any file in conflict.
Write the index as a tree . This method will scan the index and write a representation of its current state back to disk ; it recursively creates tree objects for each of the subtrees stored in the index but only returns the OID of the root tree . This is the OID that can be used e . g . to create a commit . The index instance cannot be bare and needs to be associated to an existing repository . The index must not contain any file in conflict .
pub fn write_tree(&mut self) -> Result<Oid, Error> {
        let mut raw = raw::git_oid { id: [0, ..raw::GIT_OID_RAWSZ] };
        unsafe {
            try_call!(raw::git_index_write_tree(&mut raw, self.raw));
            Ok(Oid::from_raw(&raw))
        }
    }
pub fn write_tree ( & mut self ) -> Result < Oid , Error > { let mut raw = raw :: git_oid { id : [ 0 , .. raw :: GIT_OID_RAWSZ ] } ; unsafe { try_call ! ( raw git_index_write_tree ( mut raw self raw ) ) ; Ok ( Oid :: from_raw ( & raw ) ) } }
Write the index as a tree.
Write the index as a tree .
&mut self
&mut self