create_ingredient_from_path_with_algorithm

Function create_ingredient_from_path_with_algorithm 

Source
pub fn create_ingredient_from_path_with_algorithm(
    path: &Path,
    name: &str,
    asset_type: AssetType,
    format: String,
    algorithm: &HashAlgorithm,
) -> Result<Ingredient>
Expand description

Create a C2PA Ingredient from a path with a specified hash algorithm