Skip to main content

reference

Function reference 

Source
pub fn reference(url: &str) -> Result<Reference<'_>, String>
Expand description

Reads a manifest’s url as a path under the manifest’s directory or an https: URL.

§Errors

For any other scheme, an absolute or drive-prefixed path, a backslash or NUL, and a path whose .. segments climb above the manifest’s directory.