Skip to main content

is_alias_shaped

Function is_alias_shaped 

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

Whether target is shaped like a nominal reference — a single bare name, with no path separator and no file extension (My File, intro), as opposed to a path (notes/a.md, README.md) or a scheme’d id. Only such targets are looked up in the title index; everything else resolves as a path.