Skip to main content

validate_context_files

Function validate_context_files 

Source
fn validate_context_files(bundle: &Bundle, issues: &mut Vec<ValidationIssue>)
Expand description

Mirrors bundle_export.rs::export_bundle’s own context-file handling: each path must survive sanitize_context_relative_path (no absolute paths, no .. traversal, no drive letters), and no two entries may normalize to the same output path case-insensitively (the most common export/extract targets have case-insensitive filesystems).