(encryption: &Encryption)
| 82 | } |
| 83 | |
| 84 | fn encrypted_filename(encryption: &Encryption) -> &'static str { |
| 85 | match encryption { |
| 86 | Encryption::Xor => "input.xor", |
| 87 | Encryption::Aes => "input.aes", |
| 88 | Encryption::Uuid => "input.uuid", |
| 89 | } |
| 90 | } |
| 91 | |
| 92 | fn build_encrypted_output(order: &Order, src_dir: &Path) -> (EncryptionOutput, String) { |
| 93 | let filename = encrypted_filename(&order.encryption); |
no outgoing calls
no test coverage detected