Skip to main content

has_pinned_ref

Function has_pinned_ref 

Source
pub fn has_pinned_ref(target: &str) -> bool
Expand description

Ported from HasPinnedRef. Reports whether a remote target carries an explicit git ref (?ref= or its synonym ?version=). An unpinned target builds whatever the repository’s default branch points at, which is not reproducible.