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

Function global_config_path

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

Get the global configuration file path

()

Source from the content-addressed store, hash-verified

1065
1066/// Get the global configuration file path
1067pub fn global_config_path() -> Option<PathBuf> {
1068 global_config_dir().map(|p| p.join("config.toml"))
1069}
1070
1071impl GlobalConfig {
1072 /// 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