pub fn export(
store: &Store,
session_id: &str,
hh_version: &str,
detectors: Option<&Detectors>,
) -> Result<Vec<u8>>Expand description
Build a portable bundle for session_id (the trusted-data path).
hh_version is the caller’s version string (hh-core has no build-time
access to the binary’s version). detectors mirrors the existing
hh export/hh export --html redaction chokepoint: Some redacts the
session block, every event, and every referenced blob’s content before
anything is packed; None (only reachable via the interactive
--no-redact confirmation) packs the session as-is.
§Errors
Propagates any storage/blob-store failure reading the session.