Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ErrGitRefName is git reference name error
ErrGitRefName = "GitRefNameError"
)
Variables ¶
View Source
var ( // GitRefNamePattern is regular expression with unallowed characters in git reference name // They cannot have ASCII control characters (i.e. bytes whose values are lower than \040, or \177 DEL), space, tilde ~, caret ^, or colon : anywhere. // They cannot have question-mark ?, asterisk *, or open bracket [ anywhere GitRefNamePattern = regexp.MustCompile(`[\000-\037\177 \\~^:?*[]+`) )
Functions ¶
func IsValidExternalURL ¶ added in v1.5.2
IsValidExternalURL checks if URL is valid external URL
func IsValidURL ¶ added in v1.5.2
IsValidURL checks if URL is valid
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.