pub struct GitOperations;Implementations§
Source§impl GitOperations
impl GitOperations
pub fn get_staged_diff() -> Result<String>
pub fn has_staged_changes() -> Result<bool>
pub fn create_commit(message: &str) -> Result<()>
pub fn get_current_branch() -> Result<String>
Auto Trait Implementations§
impl Freeze for GitOperations
impl RefUnwindSafe for GitOperations
impl Send for GitOperations
impl Sync for GitOperations
impl Unpin for GitOperations
impl UnwindSafe for GitOperations
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