pub struct SyncCommand;
Expand description
Command implementation for git sync
Trait Implementations§
Source§impl Command for SyncCommand
impl Command for SyncCommand
Source§fn execute(&self, merge: bool) -> Result<(), GitXError>
fn execute(&self, merge: bool) -> Result<(), GitXError>
Execute the command with the given input
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Get a description of what this command does
Source§fn requires_git_repo(&self) -> bool
fn requires_git_repo(&self) -> bool
Whether this command requires a git repository to function
Source§fn is_destructive(&self) -> bool
fn is_destructive(&self) -> bool
Whether this command performs destructive operations
Auto Trait Implementations§
impl Freeze for SyncCommand
impl RefUnwindSafe for SyncCommand
impl Send for SyncCommand
impl Sync for SyncCommand
impl Unpin for SyncCommand
impl UnwindSafe for SyncCommand
Blanket Implementations§
Source§impl<T> ActionCommand for T
impl<T> ActionCommand for T
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