pub fn resolve_media_object(
journal: &mut Session,
object_id: &str,
maximum_bytes: u64,
read_canonical: impl FnOnce(&str) -> Result<StoredFile>,
) -> Result<ResolvedObject>Expand description
Resolves and normalizes media while enforcing the current nonempty and size requirements.