Skip to main content

detect

Function detect 

Source
pub fn detect(data: &[u8]) -> Result<AccessPlan>
Expand description

Classify the most-direct access route to the evidence inside data, content-authoritatively and name-free (ADR 0008, five rules): every decision is made from bytes plus the archive’s own internal member table; no payload is ever inflated to classify.

§Errors

Propagates an archive open/read failure (crate::ArchiveError) from reading the member table (never from inflating a payload — that is phase 2).