Skip to main content

match_file

Function match_file 

Source
pub fn match_file<'a>(stem: &str, candidates: &'a [Ref]) -> Option<&'a Ref>
Expand description

The one ref in candidates whose id stem is, if exactly one (#606 --from-dir). Two candidates sharing a DOI suffix is ambiguous and matches none.