Skip to main content

default_cc_switch_database_path

Function default_cc_switch_database_path 

Source
pub fn default_cc_switch_database_path() -> Result<PathBuf, ConfigError>
Expand description

Return the fallback cc-switch database path.

§Returns

The legacy cc-switch database path under the user’s home directory.

§Errors

Returns ConfigError::MissingHomeDirectory when the home directory cannot be resolved.