pub fn update_resources(
user: &Principal,
resources: Vec<Resource>,
) -> Vec<Resource>Expand description
Updates resource metadata before persistence.
Binary resources receive a SHA3-256 hash. New resources (_id == 0) also
receive user and created_at metadata.