Skip to main content

generate_config

Function generate_config 

Source
pub fn generate_config(
    reloader_config: &ReloaderConfig,
    filename: &str,
) -> Result<(), MirrordError>
Expand description

Creates a mirrord configuration from a reloader config and writes it to the specified file. The caller is responsible for cleaning up the generated file.