Skip to main content

resolve

Function resolve 

Source
pub fn resolve(
    source: &Source,
    argument: Option<&str>,
) -> Result<Resolved, RkError>
Expand description

Resolve the pin from the argument, else from the source tree.

ยงErrors

Returns RkError::Usage for an argument that is not a version and for a source that declares none while no argument was given.