pub struct SkillFileFilter;Expand description
Determines which files should be scanned within a skill directory
Implementations§
Source§impl SkillFileFilter
impl SkillFileFilter
Sourcepub fn should_scan(path: &Path) -> bool
pub fn should_scan(path: &Path) -> bool
Check if a file should be scanned based on its extension
Sourcepub fn is_config_file(path: &Path) -> bool
pub fn is_config_file(path: &Path) -> bool
Check if a file is a cc-audit configuration file
Auto Trait Implementations§
impl Freeze for SkillFileFilter
impl RefUnwindSafe for SkillFileFilter
impl Send for SkillFileFilter
impl Sync for SkillFileFilter
impl Unpin for SkillFileFilter
impl UnwindSafe for SkillFileFilter
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