Skip to main content

get_format_diff

Function get_format_diff 

Source
pub async fn get_format_diff(project_path: &Path) -> Result<String>
Expand description

Get formatting diff for the project

ยงErrors

Returns Error::Process if cargo fmt fails to execute.