fn parse_algorithm(
algorithm: Option<&str>,
) -> Result<Algorithm, RepositoryError>Expand description
Parse a wire-format algorithm string (e.g. "fsverity-sha512-12"),
falling back to the service default ([Algorithm::SHA512]) when omitted.
fn parse_algorithm(
algorithm: Option<&str>,
) -> Result<Algorithm, RepositoryError>Parse a wire-format algorithm string (e.g. "fsverity-sha512-12"),
falling back to the service default ([Algorithm::SHA512]) when omitted.