pub fn configure(&self, raw: &mut raw::git_index_entry) {
        *raw = raw::git_index_entry {
            dev: self.dev as libc::c_uint,
            ino: self.ino as libc::c_uint,
            mode: self.mode as libc::c_uint,
            uid: self.uid as libc::c_uint,
            gid: self.gid as libc::c_uint,
            file_size: self.file_size as raw::git_off_t,
            id: unsafe { *self.id.raw() },
            flags: self.flags as libc::c_ushort,
            flags_extended: self.flags_extended as libc::c_ushort,
            path: self.path.as_ptr(),
            mtime: raw::git_index_time {
                seconds: self.mtime.sec as raw::git_time_t,
                nanoseconds: self.mtime.nsec as libc::c_uint,
            },
            ctime: raw::git_index_time {
                seconds: self.ctime.sec as raw::git_time_t,
                nanoseconds: self.ctime.nsec as libc::c_uint,
            },
        };
    }
/// Configures a raw git entry from this entry
Configures a raw git entry from this entry
Configures a raw git entry from this entry
pub fn configure(&self, raw: &mut raw::git_index_entry) {
        *raw = raw::git_index_entry {
            dev: self.dev as libc::c_uint,
            ino: self.ino as libc::c_uint,
            mode: self.mode as libc::c_uint,
            uid: self.uid as libc::c_uint,
            gid: self.gid as libc::c_uint,
            file_size: self.file_size as raw::git_off_t,
            id: unsafe { *self.id.raw() },
            flags: self.flags as libc::c_ushort,
            flags_extended: self.flags_extended as libc::c_ushort,
            path: self.path.as_ptr(),
            mtime: raw::git_index_time {
                seconds: self.mtime.sec as raw::git_time_t,
                nanoseconds: self.mtime.nsec as libc::c_uint,
            },
            ctime: raw::git_index_time {
                seconds: self.ctime.sec as raw::git_time_t,
                nanoseconds: self.ctime.nsec as libc::c_uint,
            },
        };
    }
pub fn configure ( & self , raw : & mut raw :: git_index_entry ) { * raw = raw :: git_index_entry { dev : self . dev as libc :: c_uint , ino : self . ino as libc :: c_uint , mode : self . mode as libc :: c_uint , uid : self . uid as libc :: c_uint , gid : self . gid as libc :: c_uint , file_size : self . file_size as raw :: git_off_t , id : unsafe { * self . id . raw ( ) } , flags : self . flags as libc :: c_ushort , flags_extended : self . flags_extended as libc :: c_ushort , path : self . path . as_ptr ( ) , mtime : raw :: git_index_time { seconds : self . mtime . sec as raw :: git_time_t , nanoseconds : self . mtime . nsec as libc :: c_uint , } , ctime : raw :: git_index_time { seconds : self . ctime . sec as raw :: git_time_t , nanoseconds : self . ctime . nsec as libc :: c_uint , } , } ; }
Configures a raw git entry from this entry
Configures a raw git entry from this entry
&self
raw
&mut raw::git_index_entry
&self
raw
&mut raw::git_index_entry