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

Function global_config_path

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

Get the global configuration file path

()

Source from the content-addressed store, hash-verified

355
356/// Get the global configuration file path
357pub fn global_config_path() -> Option<PathBuf> {
358 global_config_dir().map(|p| p.join("config.toml"))
359}
360
361impl GlobalConfig {
362 /// 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