Refactor: decouple email body and attachment storage

This commit is contained in:
rustmailer
2026-03-24 21:48:04 +08:00
parent c19f3977ba
commit a41b5417e3
31 changed files with 1630 additions and 1152 deletions
+1 -1
View File
@@ -372,7 +372,7 @@ pub fn validate_tag(tag: &str) -> Result<(), String> {
Ok(())
}
pub fn content_hash(content: &[u8]) -> String {
pub fn compute_content_hash(content: &[u8]) -> String {
let hash = blake3::hash(content);
hash.to_hex().to_string()
}