pub struct GitTogether<C> { /* private fields */ }
Implementations§
Source§impl GitTogether<Config>
impl GitTogether<Config>
pub fn new(scope: ConfigScope) -> Result<Self>
Source§impl<C: Config> GitTogether<C>
impl<C: Config> GitTogether<C>
pub fn set_active(&mut self, inits: &[&str]) -> Result<Vec<Author>>
pub fn clear_active(&mut self) -> Result<()>
pub fn is_signoff_cmd(&self, cmd: &str) -> bool
pub fn is_ssh_cmd(&self, cmd: &str) -> bool
pub fn is_clone_cmd(&self, cmd: &str) -> bool
pub fn signoff<'a>(&self, cmd: &'a mut Command) -> Result<&'a mut Command>
pub fn rotate_active(&mut self) -> Result<()>
Auto Trait Implementations§
impl<C> Freeze for GitTogether<C>where
C: Freeze,
impl<C> RefUnwindSafe for GitTogether<C>where
C: RefUnwindSafe,
impl<C> Send for GitTogether<C>where
C: Send,
impl<C> Sync for GitTogether<C>where
C: Sync,
impl<C> Unpin for GitTogether<C>where
C: Unpin,
impl<C> UnwindSafe for GitTogether<C>where
C: UnwindSafe,
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