pub fn file_at(root: &Path, sha: &str, path: &Path) -> Result<Option<String>>Expand description
The text of path at commit sha, or None when that commit contains no
such file.
ยงErrors
Returns an error when root is in no repository, when path is outside
it, or when sha names no commit in it.