Skip to main content

index_blob

Function index_blob 

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

The staged (index) version of rel_path (git show :path), trailing newline preserved. None when the file is not in the index.