pub struct SubagentScanner { /* private fields */ }Expand description
Scanner for Claude Code subagent definitions in .claude/agents/
Implementations§
Source§impl SubagentScanner
impl SubagentScanner
pub fn new() -> Self
pub fn with_skip_comments(self, skip: bool) -> Self
pub fn with_dynamic_rules(self, rules: Vec<DynamicRule>) -> Self
pub fn scan_content( &self, content: &str, file_path: &str, ) -> Result<Vec<Finding>>
Trait Implementations§
Source§impl Default for SubagentScanner
impl Default for SubagentScanner
Auto Trait Implementations§
impl Freeze for SubagentScanner
impl RefUnwindSafe for SubagentScanner
impl Send for SubagentScanner
impl Sync for SubagentScanner
impl Unpin for SubagentScanner
impl UnwindSafe for SubagentScanner
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