pub struct GitExec { /* private fields */ }Expand description
Capability that executes git operations with full state tracking.
Supports clone, pull, commit, revert, clean, and status operations. Creates backups before mutable operations for undo support.
Implementations§
Trait Implementations§
Source§impl TypedCapability for GitExec
impl TypedCapability for GitExec
Source§type Args = GitExecArgs
type Args = GitExecArgs
The typed arguments struct for this capability. Read more
Source§fn description(&self) -> &'static str
fn description(&self) -> &'static str
Returns a one-line description of what this capability does.
Source§fn execute(
&self,
args: GitExecArgs,
ctx: &Context,
) -> Result<Output, CapabilityError>
fn execute( &self, args: GitExecArgs, ctx: &Context, ) -> Result<Output, CapabilityError>
Executes the capability with typed arguments. Read more
Auto Trait Implementations§
impl Freeze for GitExec
impl RefUnwindSafe for GitExec
impl Send for GitExec
impl Sync for GitExec
impl Unpin for GitExec
impl UnsafeUnpin for GitExec
impl UnwindSafe for GitExec
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