MCPcopy
hub / github.com/prometheus/prometheus / emptyStringMatcher

Struct emptyStringMatcher

model/labels/regexp.go:796–796  ·  view source on GitHub ↗

emptyStringMatcher matches an empty string.

Source from the content-addressed store, hash-verified

794
795// emptyStringMatcher matches an empty string.
796type emptyStringMatcher struct{}
797
798func (emptyStringMatcher) Matches(s string) bool {
799 return s == ""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected