feat: add get_digest_type_meta function to format digest type as lowercase string

This commit is contained in:
Andrew Phillips (aider)
2025-05-14 16:15:08 -03:00
parent bbdfe19836
commit 7353fbd9b4

View File

@@ -83,3 +83,7 @@ pub fn default_digest_type() -> DigestType {
} }
default default
} }
pub fn get_digest_type_meta(digest_type: DigestType) -> String {
format!("digest_{}", digest_type.to_string().to_lowercase())
}