pub fn split_by_file(diff: &str) -> Vec<FileDiff>
Splits a flat unified diff at diff --git a/ boundaries.
diff --git a/
Returns one FileDiff for each file section found in the input. An empty or whitespace-only input returns an empty Vec.
FileDiff
Vec