Struct solidhunter_lib::linter::SolidLinter
source · pub struct SolidLinter { /* private fields */ }Implementations§
source§impl SolidLinter
impl SolidLinter
pub fn new() -> Self
pub fn new_fileless() -> Self
pub fn initialize_rules( &mut self, rules_config: &str ) -> Result<(), SolidHunterError>
pub fn parse_file(&mut self, filepath: &str) -> LintResult
pub fn parse_content(&mut self, filepath: &str, content: &str) -> LintResult
pub fn parse_folder(&mut self, folder: &str) -> Vec<LintResult>
pub fn parse_path(&mut self, path: &str) -> Vec<LintResult>
pub fn delete_file(&mut self, path: &str)
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for SolidLinter
impl !Send for SolidLinter
impl !Sync for SolidLinter
impl Unpin for SolidLinter
impl !UnwindSafe for SolidLinter
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