MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / global_config_path

Function global_config_path

atomic-config/src/lib.rs:450–452  ·  view source on GitHub ↗

Get the global configuration file path

()

Source from the content-addressed store, hash-verified

448
449/// Get the global configuration file path
450pub fn global_config_path() -> Option<PathBuf> {
451 global_config_dir().map(|p| p.join("config.toml"))
452}
453
454impl GlobalConfig {
455 /// Load global configuration from the default location

Callers 2

loadMethod · 0.85
saveMethod · 0.85

Calls 1

global_config_dirFunction · 0.85

Tested by

no test coverage detected