Skip to main content

project_dir_for

Function project_dir_for 

Source
pub fn project_dir_for(worktree: &Path) -> Option<PathBuf>
Expand description

Resolve the per-worktree Claude projects directory, e.g. ~/.claude/projects/-Users-dave-Projects-foo. Returns None if $HOME is not set / cannot be resolved.