pub struct FetchRefspecInput {
pub user_refspecs: Vec<String>,
pub configured_refspecs: Vec<String>,
pub remote_name: Option<String>,
pub allow_missing_explicit_for_prune: bool,
}Expand description
Inputs for FetchRefspecPlan::resolve.
Fields§
§user_refspecs: Vec<String>Refspecs requested for this fetch (command line or caller override).
configured_refspecs: Vec<String>remote.<name>.fetch from config (used for opportunistic tracking updates).
remote_name: Option<String>Short remote name when fetching a configured remote (origin).
allow_missing_explicit_for_prune: boolWhen true, explicit refspec sources missing from the advertisement are kept on the plan so a later prune pass can delete stale tracking refs.
Trait Implementations§
Source§impl Clone for FetchRefspecInput
impl Clone for FetchRefspecInput
Source§impl Debug for FetchRefspecInput
impl Debug for FetchRefspecInput
Auto Trait Implementations§
impl Freeze for FetchRefspecInput
impl RefUnwindSafe for FetchRefspecInput
impl Send for FetchRefspecInput
impl Sync for FetchRefspecInput
impl Unpin for FetchRefspecInput
impl UnsafeUnpin for FetchRefspecInput
impl UnwindSafe for FetchRefspecInput
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