Skip to main content

default_profile_path

Function default_profile_path 

Source
pub fn default_profile_path() -> Option<PathBuf>
Expand description

Returns the default path at which rtcom reads / writes its profile.

Resolves to the platform config directory via XDG / Apple / Known Folder conventions, e.g. $XDG_CONFIG_HOME/rtcom/default.toml on Linux. Returns None when no home directory can be determined (unusual — only hits sandboxed environments without HOME/USERPROFILE).