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

Function global_config_path

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

Get the global configuration file path

()

Source from the content-addressed store, hash-verified

373
374/// Get the global configuration file path
375pub fn global_config_path() -> Option<PathBuf> {
376 global_config_dir().map(|p| p.join("config.toml"))
377}
378
379impl GlobalConfig {
380 /// 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