urlutil

package
v0.0.0-...-475cb75 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsGitURL deprecated

func IsGitURL(str string) bool

IsGitURL returns true if the provided str is a git repository URL.

Deprecated: use github.com/fdurand/moby/builder/remotecontext/urlutil.IsGitURL

func IsURL deprecated

func IsURL(str string) bool

IsURL returns true if the provided str is an HTTP(S) URL.

Deprecated: use github.com/fdurand/moby/builder/remotecontext/urlutil.IsURL to detect build-context type, or use strings.HasPrefix() to check if the string has a https:// or http:// prefix.

Types

This section is empty.

Jump to

Keyboard shortcuts

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