Skip to main content

materialize

Function materialize 

Source
pub fn materialize(
    root: &Path,
    id: &str,
    version: &str,
    files: &BTreeMap<String, String>,
) -> Result<PathBuf, String>
Expand description

Write plugin id’s files under root (if not there yet) and return the folder.