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

Function global_config_dir

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

Get the global configuration directory

()

Source from the content-addressed store, hash-verified

350
351/// Get the global configuration directory
352pub fn global_config_dir() -> Option<PathBuf> {
353 dirs::home_dir().map(|p| p.join(".atomic"))
354}
355
356/// Get the global configuration file path
357pub fn global_config_path() -> Option<PathBuf> {

Callers 4

is_plugin_installedMethod · 0.85
load_global_ignoreFunction · 0.85
global_ignore_pathFunction · 0.85
global_config_pathFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected