Module config

Source

Structs§

GlobalVars
Thread-safe global configuration container for Rusty Commit Saver.
UserInput
Command-line argument parser for configuration file path.

Functions§

get_default_ini_path
Constructs the default configuration file path.
get_ini_file
Loads and parses the INI configuration file from disk.
get_or_default_config_ini_path
Returns the config path from CLI arguments or the default path.
parse_ini_content
Parses INI file content into a configuration object without file I/O.
retrieve_config_file_path
Retrieves the configuration file path from CLI arguments or returns the default.
set_proper_home_dir 🔒
Expands the tilde (~) character to the user’s home directory path.