pub struct VerifyTool { /* private fields */ }Expand description
Main verification tool for project detection and test inference
Implementations§
Source§impl VerifyTool
impl VerifyTool
Sourcepub fn detect_project_type(root: &Path) -> ProjectType
pub fn detect_project_type(root: &Path) -> ProjectType
Detect project type by checking for config files
Sourcepub fn project_type(&self) -> ProjectType
pub fn project_type(&self) -> ProjectType
Get the detected project type
Infer related test files for a given modified file
Sourcepub fn generate_suggestion(&self, modified_file: &str) -> VerifySuggestion
pub fn generate_suggestion(&self, modified_file: &str) -> VerifySuggestion
Generate verification suggestion for a modified file
Sourcepub fn get_all_commands(&self) -> Vec<VerifyCommand>
pub fn get_all_commands(&self) -> Vec<VerifyCommand>
Get all available verification commands for the project
Auto Trait Implementations§
impl Freeze for VerifyTool
impl RefUnwindSafe for VerifyTool
impl Send for VerifyTool
impl Sync for VerifyTool
impl Unpin for VerifyTool
impl UnsafeUnpin for VerifyTool
impl UnwindSafe for VerifyTool
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