Skip to main content

get_config_path

Function get_config_path 

Source
pub fn get_config_path(app_name: &str) -> Option<PathBuf>
Expand description

Get the path where window state would be stored.

Useful for debugging or displaying to users. Does not create the directory.

§Arguments

  • app_name - Application identifier

§Returns

Some(PathBuf) with the config file path, or None if the config directory cannot be determined on this platform.