MCPcopy Create free account
hub / github.com/cool-sun/cloudApp / stringMatchesPattern

Function stringMatchesPattern

utils/github/cihub/seelog/common_exception.go:162–194  ·  view source on GitHub ↗

stringMatchesPattern check whether testString matches pattern with asterisks. Standard regexp functionality is not used here because of performance issues.

(patternparts []string, testString string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

matchMethod · 0.85

Calls 1

IndexMethod · 0.80

Tested by

no test coverage detected