Skip to main content

read_config_toml_for_edit

Function read_config_toml_for_edit 

Source
pub fn read_config_toml_for_edit(path: &Path) -> Result<Option<String>>
Expand description

Read a configuration snapshot for editing, or return None for a missing file.

ยงErrors

Rejects symlinks, non-regular files, invalid UTF-8 and other read failures.