feat: add get_digest_type_meta function to format digest type as lowercase string
This commit is contained in:
@@ -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())
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user