detect_polyglots

Function detect_polyglots 

Source
pub fn detect_polyglots<S: DetectionSource + ?Sized>(
    source: &mut S,
    _candidates: &[DetectionCandidate],
) -> Result<Option<DetectionCandidate>>
Expand description

Detects whether a file is a composite polyglot container satisfying two or more distinct primary format specifications simultaneously.