Skip to main content

resolve

Function resolve 

Source
pub fn resolve(from: &str, reference: &str) -> String
Expand description

The path of the file reference names, from the file from: relative to the folder from is in, unless it starts with / or is a shared library’s (see is_shared). . and .. are taken out where they can be, and \ read as /.