package urlutil
import "github.com/dotcloud/docker/pkg/urlutil"
Index ¶
Functions ¶
func IsGitURL ¶
IsGitURL returns true if the provided str is a git repository URL.
Deprecated: use github.com/docker/docker/builder/remotecontext/urlutil.IsGitURL
func IsURL ¶
IsURL returns true if the provided str is an HTTP(S) URL.
Deprecated: use github.com/docker/docker/builder/remotecontext/urlutil.IsURL to detect build-context type, or use strings.HasPrefix() to check if the string has a https:// or http:// prefix.
Source Files ¶
- Version
- v23.0.3+incompatible
- Published
- Apr 4, 2023
- Platform
- js/wasm
- Imports
- 1 packages
- Last checked
- 2 minutes ago –
Tools for package owners.