Skip to main content

blame_line

Function blame_line 

Source
pub fn blame_line(dir: &Path, rel_path: &str, line: usize) -> Option<BlameLine>
Expand description

git blame for a single 1-based line of a repo-relative path, parsed into a BlameLine. None when not a repo, the path is untracked, or on error.