func IsCanonicalURI(s string, cspec string) bool {
	uri, err := NewRepoURI(s)
	if err != nil {
		return false
	}
	return uri.Canonical(cspec) == s
}
// IsCanonicalURI checks if a given URI is in canonical form
// using a specific canonical specification
IsCanonicalURI checks if a given URI is in canonical form
using a specific canonical specification
// IsCanonicalURI checks if a given URI is in canonical form // using a specific canonical specification
func IsCanonicalURI(s string, cspec string) bool {
	uri, err := NewRepoURI(s)
	if err != nil {
		return false
	}
	return uri.Canonical(cspec) == s
}
func IsCanonicalURI ( s string , cspec string ) bool { uri , err := NewRepoURI ( s ) if err != nil { return false } return uri . Canonical ( cspec ) == s }
IsCanonicalURI checks if a given URI is in canonical form
using a specific canonical specification
IsCanonicalURI checks if a given URI is in canonical form using a specific canonical specification