Skip to main content

is_relative_spec

Function is_relative_spec 

Source
pub fn is_relative_spec(spec: &str) -> bool
Expand description

Does spec ask to be resolved against the base directory? Only the two explicit prefixes do; a bare foo/bar is a search-path spec, so which tier answers is visible in the source rather than depending on what happens to exist on disk.