Skip to main content

is_default_config_dir

Function is_default_config_dir 

Source
fn is_default_config_dir(config_dir: &Path) -> bool
Expand description

Whether this path is the home directory’s .claude, the default config dir.

The pre-split machine-wide store is the default config dir’s state, so only that config dir may adopt it. A scratch or second config dir booting first must not take it; such a dir leaves the legacy file in place.