Skip to main content

expand_placeholders

Function expand_placeholders 

Source
pub fn expand_placeholders(
    path: &str,
    version_dir: &Path,
    scope: Scope,
) -> Result<String, Error>
Expand description

Expands standard Zoi path placeholders (e.g. ${pkgstore}, ${usrhome}) in a string.

ยงErrors

Returns an error if the current directory cannot be determined.