pub struct RemoteHelperExportRequest<'a> {
pub git_dir: &'a Path,
pub format: ObjectFormat,
pub signed_tags: bool,
pub import_marks: Option<&'a str>,
pub export_marks: Option<&'a str>,
pub refspecs: &'a [String],
}Expand description
A runtime request for the fast-export half of a remote-helper push.
The helper engine owns protocol sequencing and supplies the resolved capability values. The caller owns how native fast-export is executed.
Fields§
§git_dir: &'a PathLocal repository receiving the helper operation.
format: ObjectFormatObject format negotiated with the helper.
Preserve signed tag objects verbatim during export.
import_marks: Option<&'a str>Existing marks file the helper asked fast-export to consume.
export_marks: Option<&'a str>Marks file the helper asked fast-export to update.
refspecs: &'a [String]Expanded source-to-destination refspecs to export.
Auto Trait Implementations§
impl<'a> Freeze for RemoteHelperExportRequest<'a>
impl<'a> RefUnwindSafe for RemoteHelperExportRequest<'a>
impl<'a> Send for RemoteHelperExportRequest<'a>
impl<'a> Sync for RemoteHelperExportRequest<'a>
impl<'a> Unpin for RemoteHelperExportRequest<'a>
impl<'a> UnsafeUnpin for RemoteHelperExportRequest<'a>
impl<'a> UnwindSafe for RemoteHelperExportRequest<'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