is_git_diff_format

Function is_git_diff_format 

Source
pub fn is_git_diff_format(content: &str) -> bool
Expand description

Check if content is in git diff format

This function checks if the content starts with “diff –git” which indicates it’s in git diff format.