Skip to main content

build_potentials

Function build_potentials 

Source
pub fn build_potentials(full: &str, implicit_ext: &[String]) -> Vec<String>
Expand description

Every path a reference could name: the path itself, then the implicit extensions, then a folder index file, then a folder index file that repeats the folder name.

Whether a reference already has an extension is a property of its LAST segment, not of the whole path, for the reason ext_kind gives.