pub unsafe fn reset_search_path(level: ConfigLevel) -> Result<(), Error>Expand description
Reset the search path for a given level of config data to the default (generally based on environment variables).
level must be one of ConfigLevel::System, ConfigLevel::Global,
ConfigLevel::XDG, ConfigLevel::ProgramData.
This function is unsafe as it mutates the global state but cannot guarantee thread-safety. It needs to be externally synchronized with calls to access the global state.