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_ini_file_at
Loads and parses the INI configuration file at config_path.
get_or_default_config_ini_path
get_or_default_config_ini_path_with πŸ”’
is_renderable_time_format πŸ”’
Whether chrono can render this format string.
parse_exclude_repos
Parses a comma-separated list of repository names into a clean vector.
parse_ini_content
Parses INI file content into a configuration object without file I/O.
read_config_file πŸ”’
Reads the configuration file at config_path and returns its contents.
resolve_config_path
Returns the config path from CLI arguments or the default path.
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.