MCPcopy Create free account
hub / github.com/Nariod/RustPacker / encrypted_filename

Function encrypted_filename

src/puzzle.rs:84–90  ·  view source on GitHub ↗
(encryption: &Encryption)

Source from the content-addressed store, hash-verified

82}
83
84fn 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
92fn build_encrypted_output(order: &Order, src_dir: &Path) -> (EncryptionOutput, String) {
93 let filename = encrypted_filename(&order.encryption);

Callers 1

build_encrypted_outputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected