Skip to main content

detect_project_id

Function detect_project_id 

Source
fn detect_project_id(repo: &Repository) -> Option<String>
Expand description

Detects the project ID from a repository.

Priority:

  1. Remote “origin” URL (sanitized)
  2. First available remote URL (sanitized)
  3. Repository directory name