Skip to main content

EntryCallback

Type Alias EntryCallback 

Source
pub type EntryCallback = Arc<dyn Fn(&str, &[u8]) + Send + Sync>;
Expand description

Callback invoked with (entry_name, sanitized_bytes) after each file entry inside an archive is processed. Used by callers that need to inspect the sanitized content without buffering the entire archive (e.g. log context extraction).

Aliased Typeยง

pub struct EntryCallback { /* private fields */ }