pub struct HookRunner;Expand description
Runner for hook mode operations.
Provides a unified interface for running hook mode and analyzing different types of inputs.
Implementations§
Source§impl HookRunner
impl HookRunner
Sourcepub fn analyze_bash(input: &BashInput) -> Vec<HookFinding>
pub fn analyze_bash(input: &BashInput) -> Vec<HookFinding>
Analyze bash command input.
Sourcepub fn analyze_write(input: &WriteInput) -> Vec<HookFinding>
pub fn analyze_write(input: &WriteInput) -> Vec<HookFinding>
Analyze write input.
Sourcepub fn analyze_edit(input: &EditInput) -> Vec<HookFinding>
pub fn analyze_edit(input: &EditInput) -> Vec<HookFinding>
Analyze edit input.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HookRunner
impl RefUnwindSafe for HookRunner
impl Send for HookRunner
impl Sync for HookRunner
impl Unpin for HookRunner
impl UnwindSafe for HookRunner
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