Struct libgit2_sys::git_refdb_backend
source · #[repr(C)]pub struct git_refdb_backend {Show 17 fields
pub version: c_uint,
pub exists: Option<extern "C" fn(_: *mut c_int, _: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub lookup: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub iterator: Option<extern "C" fn(_: *mut *mut git_reference_iterator, _: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const git_reference, _: c_int, _: *const git_signature, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>,
pub rename: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char, _: *const c_char, _: c_int, _: *const git_signature, _: *const c_char) -> c_int>,
pub del: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>,
pub compress: Option<extern "C" fn(_: *mut git_refdb_backend) -> c_int>,
pub has_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub ensure_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub free: Option<extern "C" fn(_: *mut git_refdb_backend)>,
pub reflog_read: Option<extern "C" fn(_: *mut *mut git_reflog, _: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub reflog_write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut git_reflog) -> c_int>,
pub reflog_rename: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const c_char) -> c_int>,
pub reflog_delete: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub lock: Option<extern "C" fn(_: *mut *mut c_void, _: *mut git_refdb_backend, _: *const c_char) -> c_int>,
pub unlock: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut c_void, _: c_int, _: c_int, _: *const git_reference, _: *const git_signature, _: *const c_char) -> c_int>,
}
Fields§
§version: c_uint
§exists: Option<extern "C" fn(_: *mut c_int, _: *mut git_refdb_backend, _: *const c_char) -> c_int>
§lookup: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char) -> c_int>
§iterator: Option<extern "C" fn(_: *mut *mut git_reference_iterator, _: *mut git_refdb_backend, _: *const c_char) -> c_int>
§write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const git_reference, _: c_int, _: *const git_signature, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>
§rename: Option<extern "C" fn(_: *mut *mut git_reference, _: *mut git_refdb_backend, _: *const c_char, _: *const c_char, _: c_int, _: *const git_signature, _: *const c_char) -> c_int>
§del: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const git_oid, _: *const c_char) -> c_int>
§compress: Option<extern "C" fn(_: *mut git_refdb_backend) -> c_int>
§has_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>
§ensure_log: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>
§free: Option<extern "C" fn(_: *mut git_refdb_backend)>
§reflog_read: Option<extern "C" fn(_: *mut *mut git_reflog, _: *mut git_refdb_backend, _: *const c_char) -> c_int>
§reflog_write: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut git_reflog) -> c_int>
§reflog_rename: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char, _: *const c_char) -> c_int>
§reflog_delete: Option<extern "C" fn(_: *mut git_refdb_backend, _: *const c_char) -> c_int>
§lock: Option<extern "C" fn(_: *mut *mut c_void, _: *mut git_refdb_backend, _: *const c_char) -> c_int>
§unlock: Option<extern "C" fn(_: *mut git_refdb_backend, _: *mut c_void, _: c_int, _: c_int, _: *const git_reference, _: *const git_signature, _: *const c_char) -> c_int>
Auto Trait Implementations§
impl RefUnwindSafe for git_refdb_backend
impl Send for git_refdb_backend
impl Sync for git_refdb_backend
impl Unpin for git_refdb_backend
impl UnwindSafe for git_refdb_backend
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