Skip to main content

save

Function save 

Source
pub fn save(config: &GorConfig) -> Result<(), ConfigError>
Expand description

Save the config to disk, creating parent directories and setting mode 0600.

§Errors

Returns an I/O error if the file cannot be written.