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

Function FormatAddressList

internal/cli/ctl/imap.go:416–422  ·  view source on GitHub ↗
(addrs []*imap.Address)

Source from the content-addressed store, hash-verified

414}
415
416func FormatAddressList(addrs []*imap.Address) string {
417 res := make([]string, 0, len(addrs))
418 for _, addr := range addrs {
419 res = append(res, FormatAddress(addr))
420 }
421 return strings.Join(res, ", ")
422}
423
424func mboxesList(be module.Storage, ctx *cli.Context) error {
425 username := ctx.Args().First()

Callers 1

msgsListFunction · 0.85

Calls 1

FormatAddressFunction · 0.85

Tested by

no test coverage detected