Skip to main content

container_kind

Function container_kind 

Source
pub fn container_kind(path: &Path) -> Result<ContainerKind, Aff4Error>
Expand description

Classify an AFF4 container by reading its information.turtle once.

A lightweight probe for detection: it loads no streams and decrypts nothing. Returns Aff4Error::BadFormat if the file is not an AFF4 container (no readable information.turtle describing a known shape).