Function forc_pkg::pin_git

source ·
pub fn pin_git(
    fetch_id: u64,
    name: &str,
    source: SourceGit
) -> Result<SourceGitPinned>
Expand description

Pin the given git-sourced package.

This clones the repository to a temporary directory in order to determine the commit at the HEAD of the given git reference.