package urlutil
import "github.com/docker/docker/pkg/urlutil"
Index ¶
Functions ¶
func IsGitTransport ¶
IsGitTransport returns true if the provided str is a git transport by inspecting the prefix of the string for known protocols used in git.
func IsGitURL ¶
IsGitURL returns true if the provided str is a git repository URL.
func IsURL ¶
IsURL returns true if the provided str is a valid URL by doing a simple change for the transport of the url.
Source Files ¶
- Version
- v1.6.2
- Published
- May 11, 2015
- Platform
- linux/amd64
- Imports
- 1 packages
- Last checked
- 3 minutes ago –
Tools for package owners.