Skip to main content

get_claude_settings_path

Function get_claude_settings_path 

Source
pub fn get_claude_settings_path(custom_dir: Option<&str>) -> Result<PathBuf>
Expand description

Get the path to the Claude settings file

Returns the path to settings.json, using custom directory if configured Defaults to ~/.claude/settings.json

§Errors

Returns error if home directory cannot be found or path is invalid