MCPcopy Create free account
hub / github.com/github/gh-aw / IsValidGitHubRepositoryName

Function IsValidGitHubRepositoryName

pkg/parser/github_urls.go:383–385  ·  view source on GitHub ↗

IsValidGitHubRepositoryName checks if a string is a valid GitHub repository name.

(s string)

Source from the content-addressed store, hash-verified

381
382// IsValidGitHubRepositoryName checks if a string is a valid GitHub repository name.
383func IsValidGitHubRepositoryName(s string) bool {
384 return isValidGitHubNameWithMaxLength(s, maxGitHubRepositoryNameLength)
385}

Calls 1