Skip to main content

save_plugin

Function save_plugin 

Source
pub fn save_plugin(
    output_dir: &PathBuf,
    generated_plugin: &mut Plugin,
) -> Result<()>
Expand description

Saves the generated plugin to the requested output directory.

ยงErrors

Returns any filesystem error encountered while creating the output directory, resolving the fallback current directory, or writing the plugin file.