package
1.0.3
Repository: https://github.com/akuity/kargo.git
Documentation: pkg.go.dev

# Functions

NormalizeURL normalizes Git URLs of the following forms: - http[s]://[proxy-user:proxy-pass@]host.xz[:port][/path/to/repo[.git][/]] - ssh://[user@]host.xz[:port][/path/to/repo[.git][/]] - [user@]host.xz[:path/to/repo[.git][/]] This is useful for the purposes of comparison and also in cases where a canonical representation of a Git URL is needed.