Skip to main content

head_blob

Function head_blob 

Source
pub fn head_blob(dir: &Path, rel_path: &str) -> Option<String>
Expand description

The committed (HEAD) contents of a repo-relative path, or None if the path is not in HEAD (newly added/untracked) or on any error.