Function repos::util::validate_repo_url
source · Expand description
Validate repository url.
Notes:
-
Relative URLs without base (scp-like syntax) are not supported.
e.g.
[user@]host.xz:path/to/repo.git
or[user@]host.xz:~/path/to/repo.git