pub fn ref_path(repo_dir: &Path, revision: &str) -> PathBuf
Ref file path: {repo_dir}/refs/{revision}.
{repo_dir}/refs/{revision}