(ident: alpm_types::OpenPGPIdentifier)
| 13 | |
| 14 | impl From<alpm_types::OpenPGPIdentifier> for OpenPGPIdentifier { |
| 15 | fn from(ident: alpm_types::OpenPGPIdentifier) -> Self { |
| 16 | match ident { |
| 17 | alpm_types::OpenPGPIdentifier::OpenPGPKeyId(key_id) => { |
| 18 | OpenPGPIdentifier::OpenPGPKeyId(OpenPGPKeyId(key_id)) |
| 19 | } |
| 20 | alpm_types::OpenPGPIdentifier::OpenPGPv4Fingerprint(fingerprint) => { |
| 21 | OpenPGPIdentifier::OpenPGPv4Fingerprint(OpenPGPv4Fingerprint(fingerprint)) |
| 22 | } |
| 23 | } |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | impl From<OpenPGPIdentifier> for alpm_types::OpenPGPIdentifier { |
nothing calls this directly
no test coverage detected