pub fn current_value(key: &str) -> Option<String>Expand description
Returns the current value of key from the on-disk config.toml, rendered
as the string a user would type (no TOML quoting), or None if the key is
unset (still at its schema default).
Powers the before→after review for consequential config set writes (#852).
Reads only the user’s file, so an unset key is reported as None rather than
the default — the review then shows (default) → <new>.