pub struct PruneBranchesCommand;
Expand description
Command implementation for git prune-branches
Trait Implementations§
Source§impl Command for PruneBranchesCommand
impl Command for PruneBranchesCommand
Source§fn execute(
&self,
(except, dry_run): (Option<String>, bool),
) -> Result<(), GitXError>
fn execute( &self, (except, dry_run): (Option<String>, 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 is_destructive(&self) -> bool
fn is_destructive(&self) -> bool
Whether this command performs destructive operations
Source§fn requires_git_repo(&self) -> bool
fn requires_git_repo(&self) -> bool
Whether this command requires a git repository to function
Auto Trait Implementations§
impl Freeze for PruneBranchesCommand
impl RefUnwindSafe for PruneBranchesCommand
impl Send for PruneBranchesCommand
impl Sync for PruneBranchesCommand
impl Unpin for PruneBranchesCommand
impl UnwindSafe for PruneBranchesCommand
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