status

package
v0.0.0-...-9234610 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 30, 2016 License: MIT Imports: 2 Imported by: 0

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

func EqualRepoURLs(rawurl1, rawurl2 string) bool

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL