MCPcopy Create free account
hub / github.com/cli/cli / isURL

Function isURL

pkg/cmd/repo/fork/fork.go:405–407  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

403}
404
405func isURL(s string) bool {
406 return strings.HasPrefix(s, "http:/") || strings.HasPrefix(s, "https:/")
407}

Callers 1

forkRunFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected