pub fn fetch_commit(
url: &str,
commit: &str,
source_name: &str,
cache: &GlobalCache,
_diag: &mut DiagnosticCollector,
) -> Result<ResolvedRef, MarsError>Expand description
Fetch a git source at an exact locked commit without resolving a live ref first.