()
| 12 | } |
| 13 | |
| 14 | func (i PatchIdentity) String() string { |
| 15 | name := i.Name |
| 16 | if name == "" { |
| 17 | name = `""` |
| 18 | } |
| 19 | return fmt.Sprintf("%s <%s>", name, i.Email) |
| 20 | } |
| 21 | |
| 22 | // ParsePatchIdentity parses a patch identity string. A patch identity contains |
| 23 | // an email address and an optional name in [RFC 5322] format. This is either a |
no outgoing calls
no test coverage detected