Skip to main content

slugify_project_path

Function slugify_project_path 

Source
pub fn slugify_project_path(path: &Path) -> String
Expand description

Slugify an absolute path the way Claude Code names its project directories: every non-alphanumeric character becomes -. For example /Users/x/.config/oc-Users-x--config-oc (the / before .config and the . each map to a -, producing the double hyphen).