pub fn parse_git_source(source: &str) -> Result<GitSource>Expand description
Parse a git file source URL into its components.
Supports:
https://github.com/user/repo.git— plain clonehttps://github.com/user/repo.git@v2.1.0— pin to taghttps://github.com/user/repo.git?ref=dev— track branchhttps://github.com/user/repo.git//subdir— subdirectoryhttps://github.com/user/repo.git//subdir@v2.1.0— subdir at taggit@github.com:user/repo.git@v2.1.0— SSH with tag