MCPcopy
hub / github.com/cli/cli / ValidURL

Function ValidURL

pkg/cmd/pr/shared/params.go:55–57  ·  view source on GitHub ↗

Maximum length of a URL: 8192 bytes

(urlStr string)

Source from the content-addressed store, hash-verified

53
54// Maximum length of a URL: 8192 bytes
55func ValidURL(urlStr string) bool {
56 return len(urlStr) < 8192
57}
58
59func AddMetadataToIssueParams(client *api.Client, baseRepo ghrepo.Interface, params map[string]interface{}, tb *IssueMetadataState, projectV1Support gh.ProjectsV1Support) error {
60 if !tb.HasMetadata() {

Callers 1

createRunFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected