pub struct IsolatedMergeInput<'a> {
pub real_git: &'a Path,
pub overlay: &'a [(OsString, OsString)],
pub identity: &'a WorktreeIdentity,
pub command: &'a ResolvedCommand,
pub environment: &'a [(OsString, OsString)],
}Expand description
Everything one isolated merge reads from its invocation.
In TS you’d write (pseudocode):
type IsolatedMergeInput = { realGit; overlay; identity; command; environment };Fields§
§real_git: &'a PathReal Git executable.
overlay: &'a [(OsString, OsString)]Variables added to every Git child, the landing lease included.
identity: &'a WorktreeIdentityThe repository shape of the invocation.
command: &'a ResolvedCommandThe merge command after alias resolution.
environment: &'a [(OsString, OsString)]The environment the invocation inherited.
Auto Trait Implementations§
impl<'a> Freeze for IsolatedMergeInput<'a>
impl<'a> RefUnwindSafe for IsolatedMergeInput<'a>
impl<'a> Send for IsolatedMergeInput<'a>
impl<'a> Sync for IsolatedMergeInput<'a>
impl<'a> Unpin for IsolatedMergeInput<'a>
impl<'a> UnsafeUnpin for IsolatedMergeInput<'a>
impl<'a> UnwindSafe for IsolatedMergeInput<'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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more