MCPcopy Create free account
hub / github.com/ScriptedAlchemy/tracedecay / config_path

Function config_path

src/user_config.rs:149–151  ·  view source on GitHub ↗

Returns the path to the user-level config file.

()

Source from the content-addressed store, hash-verified

147
148/// Returns the path to the user-level config file.
149pub fn config_path() -> Option<PathBuf> {
150 crate::config::user_data_dir().map(|dir| dir.join("config.toml"))
151}
152
153impl UserConfig {
154 /// Loads the user-level config file.

Callers 8

check_user_configFunction · 0.85
loadMethod · 0.85
saveMethod · 0.85
is_freshMethod · 0.85
existsMethod · 0.85
settings_payloadFunction · 0.85

Calls 1

user_data_dirFunction · 0.85