Skip to main content

DEFAULT_ARCHIVE_DEPTH

Constant DEFAULT_ARCHIVE_DEPTH 

Source
pub const DEFAULT_ARCHIVE_DEPTH: u32 = 5;
Expand description

Default maximum nesting depth for recursive archive processing.

Depth 0 is the top-level archive. Nested archives at depths 1 through DEFAULT_ARCHIVE_DEPTH are recursively extracted and sanitized. Exceeding this limit returns SanitizeError::RecursionDepthExceeded.