Documentation ¶
Overview ¶
Package status provides a func to check if two repo URLs are equal in the context of Go packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualRepoURLs ¶
EqualRepoURLs reports whether two URLs are equal, ignoring scheme and userinfo. It parses URLs with support for SCP-like syntax, like the cmd/go tool. If there are any errors parsing the URLs, it resorts to doing a string comparison.
func FormatRepoURL ¶
FormatRepoURL tries to rewrite rawurl to follow the same format as layout URL. If either of two URLs has parsing errors, then rawurl is returned unmodified.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.