pub fn sanitize_project_path(path: &str) -> String
Sanitize an absolute path into a directory name.
Strips leading / and replaces remaining / with -. Mirrors zag’s Config::sanitize_path (zag-agent/src/config.rs:179).
/
-
Config::sanitize_path
zag-agent/src/config.rs:179