pub trait GitStatusProvider: Send + Sync {
// Required methods
fn is_working_tree_clean(&self, project_root: &Path) -> Result<bool>;
fn current_branch(&self, project_root: &Path) -> Result<String>;
fn remote_url(&self, project_root: &Path) -> Result<Option<String>>;
}Required Methods§
Sourcefn is_working_tree_clean(&self, project_root: &Path) -> Result<bool>
fn is_working_tree_clean(&self, project_root: &Path) -> Result<bool>
§Errors
Propagates repository errors.