pub struct AuthoritativeGitPushOptions<'a> {
pub heddle_dir: &'a Path,
pub remote: &'a str,
pub scope: GitPushScope,
pub current_branch: Option<&'a str>,
pub force: bool,
}Expand description
Push the authoritative checkout’s Git refs directly through Sley.
Local branches and tags are intentional inputs because .git is authoritative
in an overlay checkout. The per-remote manifest separately prevents Heddle
from claiming, rewinding, or deleting destination refs it did not publish.
Fields§
§heddle_dir: &'a Path§remote: &'a str§scope: GitPushScope§current_branch: Option<&'a str>§force: boolAuto Trait Implementations§
impl<'a> Freeze for AuthoritativeGitPushOptions<'a>
impl<'a> RefUnwindSafe for AuthoritativeGitPushOptions<'a>
impl<'a> Send for AuthoritativeGitPushOptions<'a>
impl<'a> Sync for AuthoritativeGitPushOptions<'a>
impl<'a> Unpin for AuthoritativeGitPushOptions<'a>
impl<'a> UnsafeUnpin for AuthoritativeGitPushOptions<'a>
impl<'a> UnwindSafe for AuthoritativeGitPushOptions<'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