Skip to main content

verify_answer_names_uploads

Function verify_answer_names_uploads 

Source
pub fn verify_answer_names_uploads(
    requested: &[Uuid],
) -> Result<(), ControllerError>
Expand description

Rejects a file-typed answer that names no files at all.

The named files are the answer, so an empty list is a claim with no content rather than an answer that happens to need no files.