pub struct RemoteHelperFetchRequest<'a> {
pub git_dir: &'a Path,
pub format: ObjectFormat,
pub config: &'a GitConfig,
pub remote_name: &'a str,
pub advertisements: &'a [RefAdvertisement],
pub head_symref: Option<String>,
pub refspecs: &'a [String],
pub options: &'a FetchOptions,
}Expand description
Final ref bookkeeping for objects installed by a remote helper’s import
stream. The helper owns object transfer; this engine operation deliberately
shares Git-compatible refspec planning, FETCH_HEAD, pruning, and reference
transactions with fetch.
Fields§
§git_dir: &'a Path§format: ObjectFormat§config: &'a GitConfig§remote_name: &'a str§advertisements: &'a [RefAdvertisement]§head_symref: Option<String>§refspecs: &'a [String]§options: &'a FetchOptionsAuto Trait Implementations§
impl<'a> Freeze for RemoteHelperFetchRequest<'a>
impl<'a> RefUnwindSafe for RemoteHelperFetchRequest<'a>
impl<'a> Send for RemoteHelperFetchRequest<'a>
impl<'a> Sync for RemoteHelperFetchRequest<'a>
impl<'a> Unpin for RemoteHelperFetchRequest<'a>
impl<'a> UnsafeUnpin for RemoteHelperFetchRequest<'a>
impl<'a> UnwindSafe for RemoteHelperFetchRequest<'a>
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