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

Function PRECISFold

framework/address/norm.go:135–137  ·  view source on GitHub ↗

PRECISFold applies UsernameCaseMapped to the local part and dns.ForLookup to domain part of the address.

(addr string)

Source from the content-addressed store, hash-verified

133// PRECISFold applies UsernameCaseMapped to the local part and dns.ForLookup
134// to domain part of the address.
135func PRECISFold(addr string) (string, error) {
136 return precisEmail(addr, precis.UsernameCaseMapped)
137}
138
139// PRECIS applies UsernameCasePreserved to the local part and dns.ForLookup
140// to domain part of the address.

Callers 1

NormalizeAutoFunction · 0.92

Calls 1

precisEmailFunction · 0.85

Tested by

no test coverage detected