Module user

Module user 

Source

Structs§

TelemetryConfig
Telemetry configuration
UserConfig
Devalang user configuration

Functions§

clear_session_token
Removes the session token (logout)
ensure_user_config_exists
Ensures the configuration file exists
get_devalang_homedir
Gets the Devalang configuration directory
get_home_dir
Gets the user’s home directory
get_session_token
Gets the session token
get_user_config
Loads the user configuration
get_user_config_path
Gets the path to the user configuration file
set_session_token
Updates the session token
write_user_config
Saves the user configuration