Skip to main content

parse_diff_git_path

Function parse_diff_git_path 

Source
pub fn parse_diff_git_path(rest: &[u8]) -> Option<Vec<u8>>
Expand description

Parse the remainder of a diff --git line into the (single) path. rest is everything after "diff --git ". Returns None if the line cannot be understood — callers treat that as a parse error, never a skip.