pub fn plan(
paths: &[String],
limits: &Limits,
existing_count: u32,
existing_bytes: u64,
) -> PlanExpand description
Every dropped file (and every file in a dropped folder) against the
limits. non_images is always empty now that any file can be attached;
the field stays for older frontends. Pure apart from reading metadata.