Skip to main content

ensure_default

Function ensure_default 

Source
pub fn ensure_default() -> Result<bool, CoreError>
Expand description

Write the default config file at the standard XDG path if missing.

Returns true when a fresh file was written, false when the file already existed.