Skip to main content

save_layer

Function save_layer 

Source
pub fn save_layer(path: &Path, layer: &ConfigLayer) -> Result<()>
Expand description

Save a config layer to a JSON file. Automatically sets version to 1 if not specified and creates parent directories.