pub fn git_commit_path(name: &str, repo: &Url, commit_hash: &str) -> PathBuf
Expand description

The path to which a git package commit should be checked out.

The resulting directory is:

$HOME/.forc/git/checkouts/name-<repo_url_hash>/<commit_hash>

where <repo_url_hash> is a hash of the source repository URL.