detect_entity

Function detect_entity 

Source
pub fn detect_entity(
    entity: &FileEntity,
    payload: &mut dyn PayloadSource,
) -> Option<FormatId>
Expand description

Detects the compression format given a FileEntity and PayloadSource.