Skip to main content

write_config

Function write_config 

Source
pub fn write_config(config: &Config, data_dir: &Path) -> Result<bool>
Expand description

Writes a Config as TOML to <data_dir>/reth.toml.

If the file already exists, it is not overwritten. Returns true if the file was written.