pub fn parse_git_url(url: &str) -> Result<(String, String)>Expand description
Parses a Git URL into owner and repository name components.
§Arguments
url- The Git repository URL to parse
§Return Value
owneris the user, organization, or “local” for local repositoriesrepository_nameis the repository name (with.gitsuffix removed)
§Errors
- The URL format is not recognized
- The URL doesn’t contain sufficient path components
- The URL structure doesn’t match expected patterns