pub fn fetch(fetch_id: u64, name: &str, pinned: &Pinned) -> Result<PathBuf>
Expand description
Fetch the repo at the given git package’s URL and checkout the pinned commit.
Returns the location of the checked out commit.
NOTE: This function assumes that the caller has acquired an advisory lock to co-ordinate access to the git repository checkout path.