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

Function global_config_path

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

Get the global configuration file path

()

Source from the content-addressed store, hash-verified

435
436/// Get the global configuration file path
437pub fn global_config_path() -> Option<PathBuf> {
438 global_config_dir().map(|p| p.join("config.toml"))
439}
440
441impl GlobalConfig {
442 /// 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