MCPcopy Create free account
hub / github.com/foxcpp/maddy / validMatchRule

Function validMatchRule

internal/msgpipeline/config.go:395–397  ·  view source on GitHub ↗
(rule string)

Source from the content-addressed store, hash-verified

393}
394
395func validMatchRule(rule string) bool {
396 return address.ValidDomain(rule) || address.Valid(rule)
397}

Callers 2

parseMsgPipelineRootCfgFunction · 0.85
parseMsgPipelineSrcCfgFunction · 0.85

Calls 2

ValidDomainFunction · 0.92
ValidFunction · 0.92

Tested by

no test coverage detected